summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/cris/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-11-08 21:21:44 +0000
committerEric Andersen <andersen@codepoet.org>2003-11-08 21:21:44 +0000
commit2f01dd180f8a82b833efd7ec01fa90196d2aee99 (patch)
tree69e9a4f458bb013d7d6d1090ae27935db26efab5 /libc/sysdeps/linux/cris/Makefile
parent9c4f19db650e5c4e7e73b1986f929dc715a680a1 (diff)
Darn. Fix compilation for soft-float, which I inadvertantly
broke a couple of days ago. :-(
Diffstat (limited to 'libc/sysdeps/linux/cris/Makefile')
-rw-r--r--libc/sysdeps/linux/cris/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/cris/Makefile b/libc/sysdeps/linux/cris/Makefile
index 3bf6d0dcf..73680a6ad 100644
--- a/libc/sysdeps/linux/cris/Makefile
+++ b/libc/sysdeps/linux/cris/Makefile
@@ -35,6 +35,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)