summaryrefslogtreecommitdiff
path: root/config/toolchain.mk
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2011-01-23 18:00:29 -0800
committerPixel <pixel@nobis-crew.org>2011-01-23 18:00:29 -0800
commite9b4b3d26eae1a07c9c2d948e51250792beea075 (patch)
tree3b7899c7ebf12a90e8c4c2d76344293a9ee2f052 /config/toolchain.mk
parent47fb4c8b8803c5147e8f6c87d2206dadefc44b17 (diff)
Tweaking a few more flags, and adding more symbols to the ldscript.
Diffstat (limited to 'config/toolchain.mk')
-rw-r--r--config/toolchain.mk2
1 files changed, 1 insertions, 1 deletions
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