commit | d42124bccf0a4ef5d1effe76f1f02b89130390dd | [log] [tgz] |
---|---|---|
author | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Thu May 10 05:40:50 2012 |
committer | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Thu May 10 05:40:50 2012 |
tree | f5914df83d2070446195eec61731d20d8df5c91a | |
parent | 5bcb75226f6fd14665fe6a9861618f4785dcb540 [diff] [blame] |
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
diff --git a/build/common.gypi b/build/common.gypi index 8e18331c..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 ],