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