aboutsummaryrefslogtreecommitdiff
path: root/examples/fancyblink
diff options
context:
space:
mode:
authorUwe Hermann2009-07-25 00:01:21 +0200
committerUwe Hermann2009-07-25 00:01:21 +0200
commit3f12e37531d86d17fb5b3b1e2711d9ff62e00742 (patch)
tree45560d8c4f56e41a2288b1f35f4485822801f2e8 /examples/fancyblink
parent428e328b7e67a0112ed4810e6c2dfdb745726a81 (diff)
The -L linker option should come before any ldscript file.
Diffstat (limited to 'examples/fancyblink')
-rw-r--r--examples/fancyblink/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/fancyblink/Makefile b/examples/fancyblink/Makefile
index b48c987..a5527be 100644
--- a/examples/fancyblink/Makefile
+++ b/examples/fancyblink/Makefile
@@ -31,7 +31,7 @@ TOOLCHAIN_DIR = ../..
CFLAGS = -O0 -g -Wall -Wextra -I$(TOOLCHAIN_DIR)/include -fno-common \
-mcpu=cortex-m3 -mthumb
LDSCRIPT = $(TOOLCHAIN_DIR)/lib/libopenstm32.ld
-LDFLAGS = -T$(LDSCRIPT) -nostartfiles -L$(TOOLCHAIN_DIR)/lib
+LDFLAGS = -L$(TOOLCHAIN_DIR)/lib -T$(LDSCRIPT) -nostartfiles
OBJS = $(BINARY).o
OPENOCD = openocd