From 3f12e37531d86d17fb5b3b1e2711d9ff62e00742 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sat, 25 Jul 2009 00:01:21 +0200 Subject: The -L linker option should come before any ldscript file. --- examples/fancyblink/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/fancyblink') 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 -- cgit v1.2.3