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/flock | |
parent | 095fe8743b64a47ea2b13642934348f914d2a2bb (diff) | |
download | mtk-20170518-cf1698c6370d6a64f5f70a2dc5652d1fbc62afc3.zip mtk-20170518-cf1698c6370d6a64f5f70a2dc5652d1fbc62afc3.tar.gz mtk-20170518-cf1698c6370d6a64f5f70a2dc5652d1fbc62afc3.tar.bz2 |
use HOST_STATIC_LINKING instead of hardcoding -static
SVN-Revision: 33140
Diffstat (limited to 'tools/flock')
-rw-r--r-- | tools/flock/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/flock/Makefile b/tools/flock/Makefile index ead98e7..f5e13cd 100644 --- a/tools/flock/Makefile +++ b/tools/flock/Makefile @@ -12,7 +12,7 @@ include $(INCLUDE_DIR)/host-build.mk define Host/Compile mkdir -p $(HOST_BUILD_DIR) - $(HOSTCC) $(HOST_CFLAGS) -static -o $(HOST_BUILD_DIR)/flock src/flock.c + $(HOSTCC) $(HOST_CFLAGS) $(HOST_STATIC_LINKING) -o $(HOST_BUILD_DIR)/flock src/flock.c endef define Host/Install |