summaryrefslogtreecommitdiff
path: root/toolchain/glibc
diff options
context:
space:
mode:
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),)