瀏覽代碼

Add -msoft-float to SAFECFLAGS when necessary.

Manuel Novoa III 22 年之前
父節點
當前提交
4cc7fb45c1
共有 1 個文件被更改,包括 3 次插入0 次删除
  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)