From dcaf1062a9cfada3a53f4247035643fd9fb5a412 Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Sat, 14 Feb 2004 11:57:41 +0000 Subject: Fix this as should have been done a long time ago... --- ldso/ldso/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ldso/ldso/Makefile') 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 -- cgit v1.2.3