Explorar o código

Add -msoft-float to SAFECFLAGS when necessary.

Manuel Novoa III %!s(int64=22) %!d(string=hai) anos
pai
achega
4cc7fb45c1
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      libc/sysdeps/linux/common/Makefile

+ 3 - 0
libc/sysdeps/linux/common/Makefile

@@ -51,6 +51,9 @@ endif
 ifeq ($(strip $(UCLIBC_PROFILING)),y)
 SAFECFLAGS+=-DGMON_SUPPORT
 endif
+ifeq ($(strip $(UCLIBC_HAS_SOFT_FLOAT)),y)
+SAFECFLAGS += $(call check_gcc,-msoft-float,)
+endif
 
 OBJ=$(COBJS) $(MOBJ)