From a4ad79bf6bef66c6b828b7999dd1767d170f7e97 Mon Sep 17 00:00:00 2001 From: Gaute Hope Date: Fri, 27 Apr 2012 15:44:09 +0200 Subject: Xlinker + Xassembler flags to Makefile These flags were needed to have the Makefile working with arm-none-eabi-g++ (Sourcery CodeBench Lite 2011.09-69) 4.6.1. Signed-off-by: Gaute Hope Signed-off-by: Marti Bolivar --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index e2ca0e0..5d9eceb 100644 --- a/Makefile +++ b/Makefile @@ -54,8 +54,8 @@ GLOBAL_ASFLAGS := -mcpu=cortex-m3 -march=armv7-m -mthumb \ -x assembler-with-cpp $(GLOBAL_FLAGS) LDFLAGS = -T$(LDDIR)/$(LDSCRIPT) -L$(LDDIR) \ -mcpu=cortex-m3 -mthumb -Xlinker -L $(LD_FAMILY_PATH) \ - --gc-sections --print-gc-sections --march=armv7-m -Wall - + -Xlinker --gc-sections -Xlinker --print-gc-sections \ + -Xassembler --march=armv7-m -Wall ## ## Build rules and useful templates ## -- cgit v1.2.3