From 6149f74892945c45c6907af3781dde55b9db0f87 Mon Sep 17 00:00:00 2001 From: David McCullough Date: Mon, 17 Feb 2003 12:55:57 +0000 Subject: 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. --- libc/sysdeps/linux/common/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libc/sysdeps/linux/common') diff --git a/libc/sysdeps/linux/common/Makefile b/libc/sysdeps/linux/common/Makefile index 2a4a392a1..c616ad8b2 100644 --- a/libc/sysdeps/linux/common/Makefile +++ b/libc/sysdeps/linux/common/Makefile @@ -36,6 +36,11 @@ MOBJ=$(shell ./list_syscalls.sh) 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 -- cgit v1.2.3