uClibc: build with debug symbols by default (without changing other compile related...
authorFelix Fietkau <nbd@openwrt.org>
Wed, 24 Jul 2013 12:38:09 +0000 (12:38 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 24 Jul 2013 12:38:09 +0000 (12:38 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37525

toolchain/uClibc/common.mk

index dec4a1c741f825d949745f24a535776d9f095e1c..f0a5b3d84fee850aa61826d1189a5979bf496d22 100644 (file)
@@ -51,7 +51,7 @@ CPU_CFLAGS = \
        -funsigned-char -fno-builtin -fno-asm \
        --std=gnu99 -ffunction-sections -fdata-sections \
        -Wno-unused-but-set-variable \
-       $(TARGET_CFLAGS)
+       $(TARGET_CFLAGS) -ggdb
 
 UCLIBC_MAKE = PATH='$(TOOLCHAIN_DIR)/initial/bin:$(TARGET_PATH)' $(MAKE) $(HOST_JOBS) -C $(HOST_BUILD_DIR) \
        $(TARGET_CONFIGURE_OPTS) \