From e9b4b3d26eae1a07c9c2d948e51250792beea075 Mon Sep 17 00:00:00 2001 From: Pixel Date: Sun, 23 Jan 2011 18:00:29 -0800 Subject: Tweaking a few more flags, and adding more symbols to the ldscript. --- config/toolchain.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/toolchain.mk') diff --git a/config/toolchain.mk b/config/toolchain.mk index cd429c9..21808c8 100644 --- a/config/toolchain.mk +++ b/config/toolchain.mk @@ -3,7 +3,7 @@ TOOLCHAIN = arm-none-eabi ifeq ($(CPU_FLAVOR),lpc1768) TARGET_CPPFLAGS += -mcpu=cortex-m3 -mtune=cortex-m3 -D__thumb2__=1 -march=armv7-m -mfix-cortex-m3-ldrd endif -TARGET_CPPFLAGS += -mthumb -Os -mapcs-frame -msoft-float -mno-sched-prolog -fno-hosted -ffunction-sections -fdata-sections +TARGET_CPPFLAGS += -mthumb -Os -mapcs-frame -msoft-float -mno-sched-prolog -fno-hosted -ffunction-sections -fdata-sections -fshort-wchar endif TARGET_CC = $(TOOLCHAIN)-gcc -- cgit v1.2.3