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