summaryrefslogtreecommitdiffstats
path: root/tools/sdcc
diff options
context:
space:
mode:
Diffstat (limited to 'tools/sdcc')
-rw-r--r--tools/sdcc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/sdcc/Makefile b/tools/sdcc/Makefile
index abedc3ca7..3210bb3e7 100644
--- a/tools/sdcc/Makefile
+++ b/tools/sdcc/Makefile
@@ -17,7 +17,7 @@ HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/$(PKG_NAME)
include $(INCLUDE_DIR)/host-build.mk
-HOST_LDFLAGS += -static
+HOST_LDFLAGS += $(HOST_STATIC_LINKING)
HOST_CONFIGURE_ARGS += \
--disable-ucsim \
--enable-packihx \