aboutsummaryrefslogtreecommitdiffstats
path: root/src/lpc176x/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/lpc176x/Makefile')
-rw-r--r--src/lpc176x/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lpc176x/Makefile b/src/lpc176x/Makefile
index 7ed80b26..6814969c 100644
--- a/src/lpc176x/Makefile
+++ b/src/lpc176x/Makefile
@@ -7,7 +7,7 @@ dirs-y += src/lpc176x src/generic lib/lpc176x/device
CFLAGS += -mthumb -mcpu=cortex-m3 -Ilib/lpc176x/device -Ilib/cmsis-core
-CFLAGS_klipper.elf += --specs=nano.specs --specs=nosys.specs
+CFLAGS_klipper.elf += -nostdlib -lgcc -lc_nano
CFLAGS_klipper.elf += -T $(OUT)src/generic/armcm_link.ld
$(OUT)klipper.elf: $(OUT)src/generic/armcm_link.ld