summaryrefslogtreecommitdiff
path: root/tools/yaffs2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/yaffs2/Makefile')
-rw-r--r--tools/yaffs2/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/yaffs2/Makefile b/tools/yaffs2/Makefile
index 8615fd3..afa9ab9 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