[uClibc-cvs] uClibc/libc/sysdeps/linux/common Makefile,1.77,1.78
David McCullough
davidm at uclibc.org
Mon Feb 17 12:56:01 UTC 2003
Update of /var/cvs/uClibc/libc/sysdeps/linux/common
In directory winder:/tmp/cvs-serv8239/libc/sysdeps/linux/common
Modified Files:
Makefile
Log Message:
Using -g when doing the initfini compilation breaks the SH4 case pretty
badly. I have removed -g for all platforms as I suspect no one wants it for
the initfini creation process.
Index: Makefile
===================================================================
RCS file: /var/cvs/uClibc/libc/sysdeps/linux/common/Makefile,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -d -r1.77 -r1.78
--- Makefile 15 Feb 2003 09:40:15 -0000 1.77
+++ Makefile 17 Feb 2003 12:55:57 -0000 1.78
@@ -36,6 +36,11 @@
CTOR_TARGETS=$(TOPDIR)lib/crti.o $(TOPDIR)lib/crtn.o
SAFECFLAGS=$(XWARNINGS) $(OPTIMIZATION) $(XARCH_CFLAGS) $(CPU_CFLAGS) -fno-builtin
+#
+# on SH4 addition of -g kills the initfini stuff, removed here for all
+# platforms as I suspect no one want initfini compiled -g :-) - davidm
+#
+SAFECFLAGS := $(subst -g,,$(SAFECFLAGS))
ifeq ($(strip $(DOPIC)),y)
SAFECFLAGS+=-fPIC
endif
More information about the uClibc-cvs
mailing list