FPU POST: fix warnings when building with 2.18 binutils
[oweals/u-boot.git] / post / lib_ppc / fpu / Makefile
index db435931d8d1e5206a966992e151d6b270ad6b1a..a6815398e5a9b87fee630cfe9e2b9f3809b234ea 100644 (file)
@@ -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