[uClibc-cvs] uClibc/libc/sysdeps/linux/alpha Makefile,1.10,1.11

Erik Andersen andersen at uclibc.org
Sat Nov 22 21:21:46 UTC 2003


Update of /var/cvs/uClibc/libc/sysdeps/linux/alpha
In directory winder:/tmp/cvs-serv30388/alpha

Modified Files:
	Makefile 
Log Message:
Remove SAFECFLAGS.  It was a workaround for failures in old awk script
used to generate the crti.S and crtn.S files.  Since we don't use that
anymore, keeping the workaround makes no sense.

Furthermore, in most cases, SAFECFLAGS was not picking up all the
needed flags, causing crti.o and crtn.o to not be built PIC.
Which is very bad.  Removing SAFECFLAGS and using CFLAGS fixes
that as well.


Index: Makefile
===================================================================
RCS file: /var/cvs/uClibc/libc/sysdeps/linux/alpha/Makefile,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- Makefile	8 Nov 2003 21:21:09 -0000	1.10
+++ Makefile	22 Nov 2003 21:21:39 -0000	1.11
@@ -33,11 +33,6 @@
 
 OBJS=$(SOBJS) $(COBJS)
 
-ifeq ($(strip $(UCLIBC_HAS_SOFT_FLOAT)),y)
-SAFECFLAGS += $(call check_gcc,-msoft-float,)
-endif
-
-
 all: $(OBJS) $(LIBC)
 
 $(LIBC): ar-target 
@@ -60,14 +55,14 @@
 
 ifeq ($(strip $(UCLIBC_CTOR_DTOR)),y)
 crti.o: crti.S
-	$(CC) $(SAFECFLAGS) -c crti.S -o crti.o
+	$(CC) $(CFLAGS) -c crti.S -o crti.o
 
 $(TOPDIR)lib/crti.o: crti.o
 	$(INSTALL) -d $(TOPDIR)lib/
 	cp crti.o $(TOPDIR)lib/
 
 crtn.o: crtn.S
-	$(CC) $(SAFECFLAGS) -c crtn.S -o crtn.o
+	$(CC) $(CFLAGS) -c crtn.S -o crtn.o
 
 $(TOPDIR)lib/crtn.o: crtn.o
 	$(INSTALL) -d $(TOPDIR)lib/




More information about the uClibc-cvs mailing list