summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sh64/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/sh64/Makefile')
-rw-r--r--libc/sysdeps/linux/sh64/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/sh64/Makefile b/libc/sysdeps/linux/sh64/Makefile
index eaf446a9f..da9549401 100644
--- a/libc/sysdeps/linux/sh64/Makefile
+++ b/libc/sysdeps/linux/sh64/Makefile
@@ -37,6 +37,10 @@ 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)
@@ -58,7 +62,6 @@ $(COBJS): %.o : %.c
$(CC) $(CFLAGS) -c $< -o $@
$(STRIPTOOL) -x -R .note -R .comment $*.o
-
ifeq ($(strip $(UCLIBC_CTOR_DTOR)),y)
crti.o: crti.S
$(CC) $(SAFECFLAGS) -c crti.S -o crti.o