summaryrefslogtreecommitdiff
path: root/post/lib_ppc/fpu/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'post/lib_ppc/fpu/Makefile')
-rw-r--r--post/lib_ppc/fpu/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/post/lib_ppc/fpu/Makefile b/post/lib_ppc/fpu/Makefile
index db43593..a681539 100644
--- a/post/lib_ppc/fpu/Makefile
+++ b/post/lib_ppc/fpu/Makefile
@@ -29,4 +29,5 @@ COBJS-$(CONFIG_HAS_POST) += acc1.o compare-fp-1.o mul-subnormal-single-1.o
include $(TOPDIR)/post/rules.mk
+CFLAGS := $(shell echo $(CFLAGS) | sed s/-msoft-float//)
CFLAGS += -mhard-float -fkeep-inline-functions