diff options
author | piman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-05 01:41:56 +0000 |
---|---|---|
committer | piman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-05 01:41:56 +0000 |
commit | 53e0f648b303faf4a2e308545d87cd8517598b1f (patch) | |
tree | 18344ce05be5157f95828e0124824030b072f0fa /build/common.gypi | |
parent | 53b57635f0df289cbb6d4d540d5defd2ac844dc1 (diff) | |
download | chromium_src-53e0f648b303faf4a2e308545d87cd8517598b1f.zip chromium_src-53e0f648b303faf4a2e308545d87cd8517598b1f.tar.gz chromium_src-53e0f648b303faf4a2e308545d87cd8517598b1f.tar.bz2 |
ARM: add arm_fpu option to specify which version of vfp to use
Review URL: http://codereview.chromium.org/669131
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40699 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/common.gypi')
-rw-r--r-- | build/common.gypi | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/build/common.gypi b/build/common.gypi index 914746c..a5a810e 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -215,6 +215,10 @@ # Set Thumb compilation flags. 'arm_thumb%': 0, + # Set ARM fpu compilation flags (only meaningful if armv7==1 and + # arm_neon==0). + 'arm_fpu%': 'vfpv3', + 'conditions': [ ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { # This will set gcc_version to XY if you are running gcc X.Y.*. @@ -922,7 +926,7 @@ ['arm_neon==1', { 'cflags': [ '-mfpu=neon', ], }, { - 'cflags': [ '-mfpu=vfpv3', ], + 'cflags': [ '-mfpu=<(arm_fpu)', ], }] ], }], |