aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/flex/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/flex/Makefile b/tools/flex/Makefile
index 2fcc2c643f..8e32ace854 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)