diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-08-12 12:34:30 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-08-12 12:34:30 +0000 |
commit | cf1698c6370d6a64f5f70a2dc5652d1fbc62afc3 (patch) | |
tree | 8dea115df7f768723281ea58c0ce7d0c4180182b /tools/yaffs2 | |
parent | 095fe8743b64a47ea2b13642934348f914d2a2bb (diff) | |
download | upstream-cf1698c6370d6a64f5f70a2dc5652d1fbc62afc3.tar.gz upstream-cf1698c6370d6a64f5f70a2dc5652d1fbc62afc3.tar.bz2 upstream-cf1698c6370d6a64f5f70a2dc5652d1fbc62afc3.zip |
use HOST_STATIC_LINKING instead of hardcoding -static
SVN-Revision: 33140
Diffstat (limited to 'tools/yaffs2')
-rw-r--r-- | tools/yaffs2/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/yaffs2/Makefile b/tools/yaffs2/Makefile index 8615fd30e9..afa9ab9985 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 |