From 53e0f648b303faf4a2e308545d87cd8517598b1f Mon Sep 17 00:00:00 2001 From: "piman@chromium.org" Date: Fri, 5 Mar 2010 01:41:56 +0000 Subject: 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 --- build/common.gypi | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'build') 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)', ], }] ], }], -- cgit v1.1