summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/h8300
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/h8300')
-rw-r--r--libc/sysdeps/linux/h8300/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/h8300/Makefile b/libc/sysdeps/linux/h8300/Makefile
index 5ea06d888..c57feb32c 100644
--- a/libc/sysdeps/linux/h8300/Makefile
+++ b/libc/sysdeps/linux/h8300/Makefile
@@ -35,7 +35,9 @@ COBJS=$(patsubst %.c,%.o, $(CSRC))
OBJS=$(SOBJS) $(COBJS)
-
+ifeq ($(strip $(UCLIBC_HAS_SOFT_FLOAT)),y)
+SAFECFLAGS += $(call check_gcc,-msoft-float,)
+endif
all: $(OBJS) $(LIBC)