summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Rules.mak2
-rw-r--r--utils/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/Rules.mak b/Rules.mak
index 1b7b9fc3a..6418a4176 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -212,7 +212,7 @@ endif
LDADD_LIBFLOAT=
ifeq ($(strip $(UCLIBC_HAS_SOFT_FLOAT)),y)
- CFLAGS += $(call check_gcc,-msoft-float,)
+ CFLAGS += $(call check_gcc,-msoft-float,CAN_NOT_SET_SOFT_FLOAT)
#LDFLAGS+= -Wa,-mno-fpu
ifeq ($(strip $(TARGET_ARCH)),arm)
LDADD_LIBFLOAT=-lfloat
diff --git a/utils/Makefile b/utils/Makefile
index 6abcd160a..57aed1780 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -80,7 +80,7 @@ endif
LDADD_LIBFLOAT=
ifeq ($(strip $(UCLIBC_HAS_SOFT_FLOAT)),y)
- CFLAGS += $(call check_gcc,-msoft-float,)
+ override CFLAGS += $(call check_gcc,-msoft-float,CAN_NOT_SET_SOFT_FLOAT)
#LDFLAGS+= -Wa,-mno-fpu
ifeq ($(strip $(subst ",, $(strip $(TARGET_ARCH)))),arm)
LDADD_LIBFLOAT=-lfloat