Browse Source

Ok.. this fixes the buildroot soft-float arm build.
Also try to make sure the build breaks if we want soft float but
don't know how to request it.

Manuel Novoa III 21 years ago
parent
commit
1d2ab22c46
2 changed files with 2 additions and 2 deletions
  1. 1 1
      Rules.mak
  2. 1 1
      utils/Makefile

+ 1 - 1
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

+ 1 - 1
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