summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2015-07-24 23:25:10 +0300
committerMartin Storsjö <martin@martin.st>2015-07-27 10:45:15 +0300
commit616b409c8f1e4fa568908212c01f6530da8d2e71 (patch)
tree558a0323269fd8592d8dc7c3fafb415a7ce306b6 /configure
parent2192ff84dd720968108bc1ca54e239f4c94eb61d (diff)
configure: Check MSVC defines for identifying hardfloat
This macro identifies whether VFPv3 is available; MSVC defaults to hardfloat (except for older MSVC versions for CE, targeting ARMv4). Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index 73f4e180da..291247ae3d 100755
--- a/configure
+++ b/configure
@@ -4001,6 +4001,8 @@ elif enabled arm; then
if check_cpp_condition stddef.h "defined __ARM_PCS_VFP"; then
enable vfp_args
+ elif check_cpp_condition stddef.h "defined _M_ARM_FP && _M_ARM_FP >= 30"; then
+ enable vfp_args
elif ! check_cpp_condition stddef.h "defined __ARM_PCS || defined __SOFTFP__"; then
case "${cross_prefix:-$cc}" in
*hardfloat*) enable vfp_args; fpabi=vfp ;;