Przeglądaj źródła

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 22 lat temu
rodzic
commit
1d2ab22c46
2 zmienionych plików z 2 dodań i 2 usunięć
  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