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>
This commit is contained in:
parent
720f55cc4b
commit
afc67c6dc5
@ -22,7 +22,7 @@ else
|
|||||||
CFLAGS += -Os -DNDEBUG
|
CFLAGS += -Os -DNDEBUG
|
||||||
endif
|
endif
|
||||||
|
|
||||||
LDFLAGS = --nostdlib -T stm32f405.ld
|
LDFLAGS = -nostdlib -T stm32f405.ld
|
||||||
LIBS =
|
LIBS =
|
||||||
|
|
||||||
SRC_C = \
|
SRC_C = \
|
||||||
|
@ -53,7 +53,7 @@ else
|
|||||||
COPT += -Os -DNDEBUG
|
COPT += -Os -DNDEBUG
|
||||||
endif
|
endif
|
||||||
|
|
||||||
LDFLAGS = --nostdlib -T stm32f405.ld -Map=$(@:.elf=.map) --cref
|
LDFLAGS = -nostdlib -T stm32f405.ld -Map=$(@:.elf=.map) --cref
|
||||||
LIBS =
|
LIBS =
|
||||||
|
|
||||||
# uncomment this if you want libgcc
|
# uncomment this if you want libgcc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user