uClibc: build with debug symbols by default (without changing other compile related...
[openwrt/openwrt.git] / toolchain / uClibc / common.mk
index dec4a1c..f0a5b3d 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) \