diff options
| author | Sven Wegener | 2014-06-14 17:41:13 +0200 |
|---|---|---|
| committer | Sven Wegener | 2014-06-18 13:33:47 +0200 |
| commit | afc67c6dc5c66f671efd6d1ebb2ed725ced8cb3e (patch) | |
| tree | a920969f90b3eb782a25ff33e3d1b6a07fa7d537 /stmhal/Makefile | |
| parent | 720f55cc4bb15818b8df845e11647bbafa9709c7 (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 'stmhal/Makefile')
| -rw-r--r-- | stmhal/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
