[uClibc-cvs] uClibc/libc/sysdeps/linux/powerpc Makefile,1.26,1.27

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


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

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/powerpc/Makefile,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- Makefile	5 Nov 2003 00:43:09 -0000	1.26
+++ Makefile	8 Nov 2003 21:21:33 -0000	1.27
@@ -37,6 +37,13 @@
 
 OBJS=$(SOBJS) $(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)
 
@@ -59,10 +66,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