aboutsummaryrefslogtreecommitdiff
path: root/bare-arm
diff options
context:
space:
mode:
authorSven Wegener2014-06-14 17:41:13 +0200
committerSven Wegener2014-06-18 13:33:47 +0200
commitafc67c6dc5c66f671efd6d1ebb2ed725ced8cb3e (patch)
treea920969f90b3eb782a25ff33e3d1b6a07fa7d537 /bare-arm
parent720f55cc4bb15818b8df845e11647bbafa9709c7 (diff)
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 <sven.wegener@stealer.net>
Diffstat (limited to 'bare-arm')
-rw-r--r--bare-arm/Makefile2
1 files changed, 1 insertions, 1 deletions
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 = \