summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2848d09..a447a73 100644
--- a/Makefile
+++ b/Makefile
@@ -140,7 +140,7 @@ ASFLAGS += $(firmware-asflags-y)
ARFLAGS = rcs
-LDFLAGS += -g -Wall -nostdlib -Wl,--build-id=none -N
+LDFLAGS += -g -Wall -nostdlib -Wl,--build-id=none -N -static-libgcc -lgcc
LDFLAGS += $(platform-ldflags-y)
LDFLAGS += $(firmware-ldflags-y)