aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/sdcc/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/sdcc/Makefile b/tools/sdcc/Makefile
index ef75fca9ac..abedc3ca71 100644
--- a/tools/sdcc/Makefile
+++ b/tools/sdcc/Makefile
@@ -17,6 +17,7 @@ HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/$(PKG_NAME)
include $(INCLUDE_DIR)/host-build.mk
+HOST_LDFLAGS += -static
HOST_CONFIGURE_ARGS += \
--disable-ucsim \
--enable-packihx \