From 13a9edf12251049b2c64746a5e76b9ede7ee6b31 Mon Sep 17 00:00:00 2001 From: Austin Seipp Date: Fri, 11 Jan 2019 15:49:32 -0600 Subject: [PATCH] scripts/icestorm: remove unneeded -lgcc This freestanding firmware doesn't need anything from the supporting toolchain. Signed-off-by: Austin Seipp --- scripts/icestorm/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/icestorm/Makefile b/scripts/icestorm/Makefile index eead7df..2337600 100644 --- a/scripts/icestorm/Makefile +++ b/scripts/icestorm/Makefile @@ -13,7 +13,7 @@ firmware.elf: firmware.S firmware.c firmware.lds -DSHIFT_COUNTER_BITS=$(FIRMWARE_COUNTER_BITS) \ -march=rv32i -Os -ffreestanding -nostdlib \ -o $@ firmware.S firmware.c \ - --std=gnu99 -Wl,-Bstatic,-T,firmware.lds,-Map,firmware.map,--strip-debug -lgcc + --std=gnu99 -Wl,-Bstatic,-T,firmware.lds,-Map,firmware.map,--strip-debug chmod -x $@ firmware.bin: firmware.elf