summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-02-14 12:48:47 +0000
committerEric Andersen <andersen@codepoet.org>2004-02-14 12:48:47 +0000
commit0a8f8bd708e743fe5c692e4acd32911151674ec3 (patch)
treeff814c66e0fd66cdd58d9fa8d436095e48532f2c /ldso
parent2056e1e1a2670183e2fd9deb08ec3f0e0a7814d0 (diff)
No point in including debug info for ldso. It isn't helpful to do so
since gdb can't do anything for us.
Diffstat (limited to 'ldso')
-rw-r--r--ldso/ldso/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/ldso/ldso/Makefile b/ldso/ldso/Makefile
index 8dcfb4a88..db493c3bc 100644
--- a/ldso/ldso/Makefile
+++ b/ldso/ldso/Makefile
@@ -30,11 +30,10 @@ ifeq ($(SUPPORT_LD_DEBUG),y)
XXFLAGS=$(XWARNINGS) $(XARCH_CFLAGS) $(CPU_CFLAGS) $(PICFLAG) \
-DUCLIBC_RUNTIME_PREFIX=\"$(RUNTIME_PREFIX)\" \
-fno-builtin -nostdinc -I$(TOPDIR)ldso/include -I. -I$(TOPDIR)include
-ifeq ($(TARGET_ARCH),powerpc)
-XXFLAGS+=-Os -g3
-else
-XXFLAGS+=-O0 -g3
-endif
+# Not really much point in including debugging info, since gdb
+# can't really debug ldso, since gdb requires help from ldso to
+# debug things....
+XXFLAGS+=-Os #-g3
endif
# BEWARE!!! At least mips* will die if -O0 is used!!!