summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Markgraf <steve@steve-m.de>2021-10-23 18:37:35 +0200
committerSteve Markgraf <steve@steve-m.de>2021-10-23 18:51:19 +0200
commitc731c86b9b595c0bf2f48d1b4ee471ce71d61a0e (patch)
tree2cc6a4b8f195be1f98125d447a3726b39e91f981
parenta9e24127849ea1546cd90fc3320a256234d3987a (diff)
fw: fix build with arm-none-eabi-gcc 11.2.0
-rw-r--r--src/target/firmware/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/firmware/Makefile.inc b/src/target/firmware/Makefile.inc
index 2be240d2..e00cab51 100644
--- a/src/target/firmware/Makefile.inc
+++ b/src/target/firmware/Makefile.inc
@@ -22,7 +22,7 @@ CFLAGS += -g$(DEBUGF)
#ASFLAGS=--g$(DEBUGF) $(INCLUDES) -D__ASSEMBLY__
ASFLAGS=$(INCLUDES) -D__ASSEMBLY__
-LDFLAGS = -nostartfiles -nostdlib -nodefaultlibs --gc-sections --cref
+LDFLAGS = -nostdlib -z nodefaultlib --gc-sections --cref
#### QUIET OUTPUT ####