From afc67c6dc5c66f671efd6d1ebb2ed725ced8cb3e Mon Sep 17 00:00:00 2001 From: Sven Wegener Date: Sat, 14 Jun 2014 17:41:13 +0200 Subject: bare-arm, stmhal: Fix --nostdlib to -nostdlib -nostdlib is the correct option, gcc recognizes the double dash version when in link-only mode, but not when compiling. Signed-off-by: Sven Wegener --- stmhal/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stmhal') diff --git a/stmhal/Makefile b/stmhal/Makefile index e27dd7b6c..5a801ced2 100644 --- a/stmhal/Makefile +++ b/stmhal/Makefile @@ -53,7 +53,7 @@ else COPT += -Os -DNDEBUG endif -LDFLAGS = --nostdlib -T stm32f405.ld -Map=$(@:.elf=.map) --cref +LDFLAGS = -nostdlib -T stm32f405.ld -Map=$(@:.elf=.map) --cref LIBS = # uncomment this if you want libgcc -- cgit v1.2.3