Hi,

with this patch we can build an optimized version with more debug info.

This is useful if you put a strip version on target but keep debug symbol for 
debugging with
gdb on the host (gdbserver).

Index: uClibc/Rules.mak
===================================================================
--- uClibc.orig/Rules.mak       2009-12-28 17:57:04.000000000 +0100
+++ uClibc/Rules.mak    2009-12-28 18:14:16.000000000 +0100
@@ -594,6 +594,7 @@
 ifeq ($(DOSTRIP),y)
 LDFLAGS += -Wl,-s
 else
+CFLAGS += -g
 STRIPTOOL := true -Stripping_disabled
 endif
 
_______________________________________________
uClibc mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to