From 4cc7fb45c19d2dd6f3274f391cb466ec9c99a355 Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Sat, 25 Oct 2003 02:59:33 +0000 Subject: Add -msoft-float to SAFECFLAGS when necessary. --- libc/sysdeps/linux/common/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libc/sysdeps/linux/common/Makefile') 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) -- cgit v1.2.3