diff options
author | Gaute Hope <eg@gaute.vetsj.com> | 2012-04-27 15:44:09 +0200 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2012-06-15 15:57:16 -0400 |
commit | a4ad79bf6bef66c6b828b7999dd1767d170f7e97 (patch) | |
tree | b1d96a2e7411eac599679e13ae14fcbeaaf2bfcf | |
parent | 7ac498c2a2ad00e0a9c850f22a1012a9a3240fb7 (diff) | |
download | librambutan-a4ad79bf6bef66c6b828b7999dd1767d170f7e97.tar.gz librambutan-a4ad79bf6bef66c6b828b7999dd1767d170f7e97.zip |
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 <eg@gaute.vetsj.com>
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 ## |