diff options
author | David McCullough <davidm@snapgear.com> | 2003-02-17 12:55:57 +0000 |
---|---|---|
committer | David McCullough <davidm@snapgear.com> | 2003-02-17 12:55:57 +0000 |
commit | 6149f74892945c45c6907af3781dde55b9db0f87 (patch) | |
tree | d469c05a5d86e1aabf5825497dc193ae3d06f140 | |
parent | eacb6bcea7196699d2b9dfe29a07d237059360ac (diff) |
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.
-rw-r--r-- | libc/sysdeps/linux/common/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
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 |