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