aboutsummaryrefslogtreecommitdiffstats
path: root/tools/flex
diff options
context:
space:
mode:
Diffstat (limited to 'tools/flex')
-rw-r--r--tools/flex/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/flex/Makefile b/tools/flex/Makefile
index 8e32ace854..659324a647 100644
--- a/tools/flex/Makefile
+++ b/tools/flex/Makefile
@@ -16,7 +16,7 @@ PKG_CAT:=bzcat
include $(INCLUDE_DIR)/host-build.mk
-HOST_LDFLAGS += -static
+HOST_LDFLAGS += $(HOST_STATIC_LINKING)
define Host/Clean
-$(MAKE) -C $(HOST_BUILD_DIR) uninstall