summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/m68k/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/m68k/Makefile')
-rw-r--r--libc/sysdeps/linux/m68k/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/m68k/Makefile b/libc/sysdeps/linux/m68k/Makefile
index bff5144a6..e8421b306 100644
--- a/libc/sysdeps/linux/m68k/Makefile
+++ b/libc/sysdeps/linux/m68k/Makefile
@@ -39,6 +39,10 @@ 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)