diff options
Diffstat (limited to 'libc/sysdeps/linux/i386/Makefile')
-rw-r--r-- | libc/sysdeps/linux/i386/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/i386/Makefile b/libc/sysdeps/linux/i386/Makefile index 90cad8e6e..1bf634170 100644 --- a/libc/sysdeps/linux/i386/Makefile +++ b/libc/sysdeps/linux/i386/Makefile @@ -59,6 +59,9 @@ $(COBJS): %.o : %.c ifeq ($(strip $(UCLIBC_PROFILING)),y) SAFECFLAGS := $(filter-out -g,$(CFLAGS)) +ifeq ($(strip $(UCLIBC_HAS_SOFT_FLOAT)),y) +SAFECFLAGS += $(call check_gcc,-msoft-float,) +endif gmon-start.S: ../common/gmon-start.c $(CC) $(SAFECFLAGS) -c $< -S -o $*.S gcrt1.o: $(CRT0_DEPS) |