summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2003-10-25 02:59:33 +0000
committerManuel Novoa III <mjn3@codepoet.org>2003-10-25 02:59:33 +0000
commit4cc7fb45c19d2dd6f3274f391cb466ec9c99a355 (patch)
tree0c236e6771bfbff37b2364da38c723979984bd29 /libc
parentbcfd17afd8cb02f7816b29df1b723a7fffa5b9d1 (diff)
Add -msoft-float to SAFECFLAGS when necessary.
Diffstat (limited to 'libc')
-rw-r--r--libc/sysdeps/linux/common/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/Makefile b/libc/sysdeps/linux/common/Makefile
index 1ba3800b8..c08efc8b1 100644
--- a/libc/sysdeps/linux/common/Makefile
+++ b/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)