[uClibc-cvs] uClibc/libc/sysdeps/linux/sh Makefile,1.27,1.28

Erik Andersen andersen at uclibc.org
Sat Nov 8 21:21:53 UTC 2003


Update of /var/cvs/uClibc/libc/sysdeps/linux/sh
In directory winder:/tmp/cvs-serv19505/sh

Modified Files:
	Makefile 
Log Message:
Darn.  Fix compilation for soft-float, which I inadvertantly
broke a couple of days ago.  :-(


Index: Makefile
===================================================================
RCS file: /var/cvs/uClibc/libc/sysdeps/linux/sh/Makefile,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- Makefile	5 Nov 2003 02:04:16 -0000	1.27
+++ Makefile	8 Nov 2003 21:21:36 -0000	1.28
@@ -36,6 +36,13 @@
 
 OBJS=$(SOBJS) $(MOBJ) $(COBJS)
 
+ifeq ($(strip $(UCLIBC_PROFILING)),y)
+SAFECFLAGS := $(filter-out -g,$(CFLAGS))
+endif
+ifeq ($(strip $(UCLIBC_HAS_SOFT_FLOAT)),y)
+SAFECFLAGS += $(call check_gcc,-msoft-float,)
+endif
+
 
 all: $(OBJS) $(LIBC)
 
@@ -58,10 +65,6 @@
 	$(STRIPTOOL) -x -R .note -R .comment $*.o
 
 ifeq ($(strip $(UCLIBC_PROFILING)),y)
-SAFECFLAGS := $(filter-out -g,$(CFLAGS))
-ifeq ($(strip $(UCLIBC_HAS_SOFT_FLOAT)),y)
-SAFECFLAGS += $(call check_gcc,-msoft-float,)
-endif
 gmon-start.S: ../common/gmon-start.c
 	$(CC) $(SAFECFLAGS) -c $< -S -o $*.S
 gcrt1.o: $(CRT0_DEPS)




More information about the uClibc-cvs mailing list