summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2004-02-14 11:57:41 +0000
committerManuel Novoa III <mjn3@codepoet.org>2004-02-14 11:57:41 +0000
commitdcaf1062a9cfada3a53f4247035643fd9fb5a412 (patch)
tree3fbeb7879a22f6cf998af7c231b522460f57a00d
parentd891064218c362387465ab1ad98e438d8d0b4b91 (diff)
Fix this as should have been done a long time ago...
-rw-r--r--ldso/ldso/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/ldso/ldso/Makefile b/ldso/ldso/Makefile
index bd924b142..8dcfb4a88 100644
--- a/ldso/ldso/Makefile
+++ b/ldso/ldso/Makefile
@@ -37,6 +37,9 @@ XXFLAGS+=-O0 -g3
endif
endif
+# BEWARE!!! At least mips* will die if -O0 is used!!!
+XXFLAGS :=$(XXFLAGS:-O0=-O1)
+
XXFLAGS+=$(shell $(CC) -print-search-dirs | sed -ne "s/install: *\(.*\)/-I\1include/gp")
LDFLAGS=$(CPU_LDFLAGS-y) -shared --warn-common --export-dynamic --sort-common \
-z combreloc --discard-locals --discard-all --no-undefined