From 82920e6e3a6c28c290c5755102c4269269772b15 Mon Sep 17 00:00:00 2001 From: Abdoulaye Walsimou Gaye Date: Sat, 27 Oct 2012 23:15:05 +0200 Subject: Toolchain: avoid gcc generating debug info in not strip-able section Signed-off-by: Abdoulaye Walsimou Gaye --- mk/toolchain.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'mk') diff --git a/mk/toolchain.mk b/mk/toolchain.mk index f1120ef..6768462 100644 --- a/mk/toolchain.mk +++ b/mk/toolchain.mk @@ -35,6 +35,7 @@ __TARGET_CFLAGS := $(subst ",,$(strip $(CONFIG_EMBTK_TARGET_COMPILER_CFLAGS))) __TARGET_CFLAGS += $(if $(CONFIG_EMBTK_TARGET_SIZE_OPTIMIZED),-Os) __TARGET_CFLAGS += $(if $(CONFIG_EMBTK_TARGET_SPEED_OPTIMIZED),-O3) __TARGET_CFLAGS += $(if $(CONFIG_EMBTK_TARGET_WITH_DEBUG_DATA),-g) +__TARGET_CFLAGS += -fno-unwind-tables -fno-asynchronous-unwind-tables TARGET_CFLAGS := $(strip $(__TARGET_CFLAGS)) CROSS_COMPILE := $(embtk_tools)/bin/$(STRICT_GNU_TARGET)- -- cgit v1.2.3