From 2f01dd180f8a82b833efd7ec01fa90196d2aee99 Mon Sep 17 00:00:00 2001
From: Eric Andersen <andersen@codepoet.org>
Date: Sat, 8 Nov 2003 21:21:44 +0000
Subject: Darn.  Fix compilation for soft-float, which I inadvertantly broke a
 couple of days ago.  :-(

---
 libc/sysdeps/linux/e1/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'libc/sysdeps/linux/e1')

diff --git a/libc/sysdeps/linux/e1/Makefile b/libc/sysdeps/linux/e1/Makefile
index 4c9290ae6..d23016108 100644
--- a/libc/sysdeps/linux/e1/Makefile
+++ b/libc/sysdeps/linux/e1/Makefile
@@ -38,6 +38,10 @@ COBJS=$(patsubst %.c,%.o, $(CSRC))
 
 OBJS=$(SOBJS) $(MOBJ) $(COBJS) $(CRT0_OBJ)
 
+ifeq ($(strip $(UCLIBC_HAS_SOFT_FLOAT)),y)
+SAFECFLAGS += $(call check_gcc,-msoft-float,)
+endif
+
 all: $(OBJS) $(LIBC)
 
 $(LIBC): ar-target 
-- 
cgit v1.2.3