summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sparc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/sparc/Makefile')
-rw-r--r--libc/sysdeps/linux/sparc/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/sparc/Makefile b/libc/sysdeps/linux/sparc/Makefile
index 784322dce..26127baea 100644
--- a/libc/sysdeps/linux/sparc/Makefile
+++ b/libc/sysdeps/linux/sparc/Makefile
@@ -33,6 +33,9 @@ COBJS=$(patsubst %.c,%.o, $(CSRC))
OBJS=$(SOBJS) $(MOBJ) $(COBJS)
+ifeq ($(strip $(UCLIBC_HAS_SOFT_FLOAT)),y)
+SAFECFLAGS += $(call check_gcc,-msoft-float,)
+endif
all: $(OBJS) $(LIBC)