summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/e1/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/e1/Makefile')
-rw-r--r--libc/sysdeps/linux/e1/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/e1/Makefile b/libc/sysdeps/linux/e1/Makefile
index 4c9290ae6..d23016108 100644
--- a/libc/sysdeps/linux/e1/Makefile
+++ b/libc/sysdeps/linux/e1/Makefile
@@ -38,6 +38,10 @@ COBJS=$(patsubst %.c,%.o, $(CSRC))
OBJS=$(SOBJS) $(MOBJ) $(COBJS) $(CRT0_OBJ)
+ifeq ($(strip $(UCLIBC_HAS_SOFT_FLOAT)),y)
+SAFECFLAGS += $(call check_gcc,-msoft-float,)
+endif
+
all: $(OBJS) $(LIBC)
$(LIBC): ar-target