summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authoryongsheng.zhu@intel.com <yongsheng.zhu@intel.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-10 05:40:50 +0000
committeryongsheng.zhu@intel.com <yongsheng.zhu@intel.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-10 05:40:50 +0000
commitd42124bccf0a4ef5d1effe76f1f02b89130390dd (patch)
treef5914df83d2070446195eec61731d20d8df5c91a /build
parent5bcb75226f6fd14665fe6a9861618f4785dcb540 (diff)
downloadchromium_src-d42124bccf0a4ef5d1effe76f1f02b89130390dd.zip
chromium_src-d42124bccf0a4ef5d1effe76f1f02b89130390dd.tar.gz
chromium_src-d42124bccf0a4ef5d1effe76f1f02b89130390dd.tar.bz2
Disable the compile option 'mlong-calls' for Android for IA
This is because this option is a ARM-only option. See the documentation here: http://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html BUG=127379 TEST= Review URL: https://chromiumcodereview.appspot.com/10382082 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136247 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r--build/common.gypi2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/common.gypi b/build/common.gypi
index 8e18331..47e937d 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -1888,7 +1888,7 @@
'target_conditions' : [
['_toolset=="target"', {
'conditions': [
- ['OS=="android" and debug_optimize==0', {
+ ['OS=="android" and debug_optimize==0 and target_arch=="arm"', {
'cflags': [
'-mlong-calls', # Needed when compiling with -O0
],