summaryrefslogtreecommitdiffstats
path: root/tools/yaffs2
diff options
context:
space:
mode:
Diffstat (limited to 'tools/yaffs2')
-rw-r--r--tools/yaffs2/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/yaffs2/Makefile b/tools/yaffs2/Makefile
index 8615fd30e..afa9ab998 100644
--- a/tools/yaffs2/Makefile
+++ b/tools/yaffs2/Makefile
@@ -22,7 +22,7 @@ include $(INCLUDE_DIR)/host-build.mk
define Host/Compile
$(MAKE) -C $(HOST_BUILD_DIR)/yaffs2/utils \
- CC="$(HOSTCC) -static" \
+ CC="$(HOSTCC) $(HOST_STATIC_LINKING)" \
CFLAGS="$(HOST_CFLAGS) -include endian.h" \
mkyaffs2image
endef