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 --- bare-arm/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bare-arm') diff --git a/bare-arm/Makefile b/bare-arm/Makefile index 745945deb..82312cd85 100644 --- a/bare-arm/Makefile +++ b/bare-arm/Makefile @@ -22,7 +22,7 @@ else CFLAGS += -Os -DNDEBUG endif -LDFLAGS = --nostdlib -T stm32f405.ld +LDFLAGS = -nostdlib -T stm32f405.ld LIBS = SRC_C = \ -- cgit v1.2.3