aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2012-08-05 13:27:13 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2012-08-05 13:27:13 -0400
commitd8830b1448809b84ed95047a90a6793d59527ca0 (patch)
tree019d860680b38b2e3ffc7c5f95b402a33fb31b22 /Makefile
parent5b66935b6ec54d16b3536cf13d8fca53358d8777 (diff)
downloadlibrambutan-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--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3c36bec..b1f970c 100644
--- a/Makefile
+++ b/Makefile
@@ -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 \