Ver código fonte

Don't bother checking, since we want an error if -msoft-float doesn't work.

Manuel Novoa III 21 anos atrás
pai
commit
433c0b2e61
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      utils/Makefile

+ 2 - 2
utils/Makefile

@@ -80,8 +80,8 @@ endif
 
 
 LDADD_LIBFLOAT=
 LDADD_LIBFLOAT=
 ifeq ($(strip $(UCLIBC_HAS_SOFT_FLOAT)),y)
 ifeq ($(strip $(UCLIBC_HAS_SOFT_FLOAT)),y)
-    override CFLAGS += $(call check_gcc,-msoft-float,CAN_NOT_SET_SOFT_FLOAT)
+# If -msoft-float isn't supported, we want an error anyway.
-    #LDFLAGS+= -Wa,-mno-fpu
+    override CFLAGS += -msoft-float
 ifeq ($(strip $(subst ",, $(strip $(TARGET_ARCH)))),arm)
 ifeq ($(strip $(subst ",, $(strip $(TARGET_ARCH)))),arm)
     LDADD_LIBFLOAT=-lfloat
     LDADD_LIBFLOAT=-lfloat
 endif
 endif