summaryrefslogtreecommitdiff
path: root/ldso/libdl/Makefile
diff options
context:
space:
mode:
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
commit23426f4df65727c942bca4412d93b87ebbec41da (patch)
tree9f2d1690ff52dccabb2ac09b612a31d07a0ec33a /ldso/libdl/Makefile
parentf14d34240c7f39b5e01c730c10f72ac075cbc13f (diff)
Clean up debugging levels for MIPS. This should make things consistent now.
Diffstat (limited to 'ldso/libdl/Makefile')
-rw-r--r--ldso/libdl/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/ldso/libdl/Makefile b/ldso/libdl/Makefile
index a5b2f6be2..8101b08e3 100644
--- a/ldso/libdl/Makefile
+++ b/ldso/libdl/Makefile
@@ -40,6 +40,11 @@ ifeq ($(DOPIC),y)
XXFLAGS += $(PICFLAG) -D__LIBDL_SHARED__
endif
+# BEWARE!!! At least mips* will die if -O0 is used!!!
+ifeq ($(strip $(TARGET_ARCH)),mips)
+XXFLAGS := $(XXFLAGS:-O0=-O1)
+endif
+
LIB_NAME=libdl
AR_LIB_NAME=$(TOPDIR)lib/$(LIB_NAME).a
SO_LIB_NAME=$(TOPDIR)lib/$(LIB_NAME).so