diff options
-rw-r--r-- | bare-arm/Makefile | 2 | ||||
-rw-r--r-- | stmhal/Makefile | 2 |
2 files changed, 2 insertions, 2 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 = \ 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 |