summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-07-24 12:38:09 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-07-24 12:38:09 +0000
commit82e51044d86fe28a4bc3d755b054cccc4014d8db (patch)
tree3f83255e975d38e47dba583ca3e705529cd9d726 /toolchain
parentca186db09fd646fb8d5de1c05ce506c1a2f8fda6 (diff)
downloadmtk-20170518-82e51044d86fe28a4bc3d755b054cccc4014d8db.zip
mtk-20170518-82e51044d86fe28a4bc3d755b054cccc4014d8db.tar.gz
mtk-20170518-82e51044d86fe28a4bc3d755b054cccc4014d8db.tar.bz2
uClibc: build with debug symbols by default (without changing other compile related flags)
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37525
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/uClibc/common.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolchain/uClibc/common.mk b/toolchain/uClibc/common.mk
index dec4a1c..f0a5b3d 100644
--- a/toolchain/uClibc/common.mk
+++ b/toolchain/uClibc/common.mk
@@ -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) \