diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2012-08-05 13:27:13 -0400 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2012-08-05 13:27:13 -0400 |
commit | d8830b1448809b84ed95047a90a6793d59527ca0 (patch) | |
tree | 019d860680b38b2e3ffc7c5f95b402a33fb31b22 /Makefile | |
parent | 5b66935b6ec54d16b3536cf13d8fca53358d8777 (diff) | |
download | librambutan-d8830b1448809b84ed95047a90a6793d59527ca0.tar.gz librambutan-d8830b1448809b84ed95047a90a6793d59527ca0.zip |
Add support for ARM's GCC ARM embedded toolchain.
Based on patches provided by Hanspeter Portner:
http://forums.leaflabs.com/topic.php?id=1717#post-11812
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -58,7 +58,7 @@ GLOBAL_CFLAGS := -Os -g3 -gdwarf-2 -mcpu=cortex-m3 -mthumb -march=armv7-m \ GLOBAL_CXXFLAGS := -fno-rtti -fno-exceptions -Wall $(TARGET_FLAGS) GLOBAL_ASFLAGS := -mcpu=cortex-m3 -march=armv7-m -mthumb \ -x assembler-with-cpp $(TARGET_FLAGS) -LDFLAGS = $(TARGET_LDFLAGS) -mcpu=cortex-m3 -mthumb \ +LDFLAGS = $(TARGET_LDFLAGS) $(TOOLCHAIN_LDFLAGS) -mcpu=cortex-m3 -mthumb \ -Xlinker --gc-sections \ -Xassembler --march=armv7-m -Wall # -Xlinker --print-gc-sections \ |