summaryrefslogtreecommitdiff
path: root/toolchain/glibc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-07-16 22:13:08 -0500
committerWaldemar Brodkorb <wbx@openadk.org>2015-07-24 01:40:37 -0500
commit4a499a150d592b7c1de7bbc626b9bcc0bcca6c74 (patch)
tree9a9e14ea1b9a9e1840dda6ab3a4b8644167d8ac6 /toolchain/glibc
parent1367206274b6bac3e3c58c2f52eb30afe07e4b1f (diff)
enable fast-math together with ARM neon
Diffstat (limited to 'toolchain/glibc')
-rw-r--r--toolchain/glibc/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/toolchain/glibc/Makefile b/toolchain/glibc/Makefile
index 75d2e70e9..cecb784c9 100644
--- a/toolchain/glibc/Makefile
+++ b/toolchain/glibc/Makefile
@@ -4,6 +4,8 @@
include $(ADK_TOPDIR)/rules.mk
include ../rules.mk
+TARGET_CFLAGS:= $(filter-out -ffast-math,$(TARGET_CFLAGS))
+
# glibc does not compile with Os
TARGET_CFLAGS:= $(subst Os,O2,$(TARGET_CFLAGS))
ifneq ($(ADK_DEBUG),)