summaryrefslogtreecommitdiffstats
path: root/third_party/cld
diff options
context:
space:
mode:
authorjcivelli@chromium.org <jcivelli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-12 23:41:37 +0000
committerjcivelli@chromium.org <jcivelli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-12 23:41:37 +0000
commite0acf14bab3b087246365e7be1e8b7d7ca03b791 (patch)
tree27553cf89e88bb31002870c45d97f6794c45b2ef /third_party/cld
parent9e6182a71f4c726f5ae60e1dad81fc06c56b2538 (diff)
downloadchromium_src-e0acf14bab3b087246365e7be1e8b7d7ca03b791.zip
chromium_src-e0acf14bab3b087246365e7be1e8b7d7ca03b791.tar.gz
chromium_src-e0acf14bab3b087246365e7be1e8b7d7ca03b791.tar.bz2
[MIPS] Add support for MIPS in cld.
MIPS has to be recognized as a supported architecture in build_config.h. Original patch from petarj@mips.com: http://codereview.chromium.org/10698121/ BUG=https://code.google.com/p/chromium/issues/detail?id=130022 TEST=make chrome TBR=jshin Review URL: https://chromiumcodereview.appspot.com/10690169 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146484 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/cld')
-rw-r--r--third_party/cld/base/build_config.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/third_party/cld/base/build_config.h b/third_party/cld/base/build_config.h
index 0292c14f..3f64d2c 100644
--- a/third_party/cld/base/build_config.h
+++ b/third_party/cld/base/build_config.h
@@ -89,6 +89,11 @@
#define ARCH_CPU_ARMEL 1
#define ARCH_CPU_32_BITS 1
#define WCHAR_T_IS_UNSIGNED 1
+#elif defined(__MIPSEL__)
+#define ARCH_CPU_MIPS_FAMILY 1
+#define ARCH_CPU_MIPSEL 1
+#define ARCH_CPU_32_BITS 1
+#define WCHAR_T_IS_UNSIGNED 0
#else
#error Please add support for your architecture in build/build_config.h
#endif