diff options
author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-10-01 17:06:33 +0000 |
---|---|---|
committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-10-01 17:06:33 +0000 |
commit | 23426f4df65727c942bca4412d93b87ebbec41da (patch) | |
tree | 9f2d1690ff52dccabb2ac09b612a31d07a0ec33a /ldso/ldso/Makefile | |
parent | f14d34240c7f39b5e01c730c10f72ac075cbc13f (diff) |
Clean up debugging levels for MIPS. This should make things consistent now.
Diffstat (limited to 'ldso/ldso/Makefile')
-rw-r--r-- | ldso/ldso/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ldso/ldso/Makefile b/ldso/ldso/Makefile index f08c64c2f..2d7d867f9 100644 --- a/ldso/ldso/Makefile +++ b/ldso/ldso/Makefile @@ -33,8 +33,6 @@ XXFLAGS+= -DUCLIBC_LDSO=\"$(UCLIBC_LDSO)\" $(XARCH_CFLAGS) $(CPU_CFLAGS) $(PICFL -DUCLIBC_RUNTIME_PREFIX=\"$(RUNTIME_PREFIX)\" \ -fno-builtin -nostdinc -D_LIBC -I$(TOPDIR)ldso/include -I. -I$(TOPDIR)include -# BEWARE!!! At least mips* will die if -O0 is used!!! -XXFLAGS:=$(XXFLAGS:-O0=-O1) XXFLAGS+=-isystem $(shell $(CC) -print-file-name=include) ifeq ($(strip $(SUPPORT_LD_DEBUG)),y) @@ -48,6 +46,11 @@ endif #This stuff will not work with -fomit-frame-pointer XXFLAGS := $(XXFLAGS:-fomit-frame-pointer=) +# BEWARE!!! At least mips* will die if -O0 is used!!! +ifeq ($(strip $(TARGET_ARCH)),mips) +XXFLAGS := $(XXFLAGS:-O0=-O1) +endif + ASFLAGS=$(XXFLAGS) ifeq ($(UCLIBC_BUILD_NOEXECSTACK),y) ASFLAGS+=$(call check_as,--noexecstack) |