summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2016-07-18 23:23:50 +0300
committerMartin Storsjö <martin@martin.st>2016-07-21 12:52:10 +0300
commit6f9e34baea4f6f484392e4e67f606a0835d07b73 (patch)
tree5aee2a76ef980763851e88761b5f3b878ba37abe /configure
parented9b2a5178d7a7c5a95694da3a808af327f36aff (diff)
arm: Check for support for the .fpu directive
When targeting COFF (windows), clang doesn't support this directive (while binutils supports it for all targets). Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index ce52f50d07..37c5611293 100755
--- a/configure
+++ b/configure
@@ -1597,6 +1597,7 @@ SYSTEM_FUNCS="
TOOLCHAIN_FEATURES="
as_dn_directive
+ as_fpu_directive
as_func
as_object_arch
asm_mod_q
@@ -4243,6 +4244,9 @@ EOF
ra .dn d0.i16
.unreq ra
EOF
+ check_as <<EOF && enable as_fpu_directive
+.fpu neon
+EOF
# llvm's integrated assembler supports .object_arch from llvm 3.5
[ "$objformat" = elf ] && check_as <<EOF && enable as_object_arch