summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-08-10 19:26:24 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-08-10 19:26:24 +0000
commit6c5dc20343136ed1d41c5b814e3fe57e3ac8bf3e (patch)
treeeab2f3fbdf4d53e5c8d82f524a8d34e749cb39fe
parenta8d55378c3e637421cd3edbfab4519e60c4a0855 (diff)
downloadmtk-20170518-6c5dc20343136ed1d41c5b814e3fe57e3ac8bf3e.zip
mtk-20170518-6c5dc20343136ed1d41c5b814e3fe57e3ac8bf3e.tar.gz
mtk-20170518-6c5dc20343136ed1d41c5b814e3fe57e3ac8bf3e.tar.bz2
flex: link statically
SVN-Revision: 33091
-rw-r--r--tools/flex/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/flex/Makefile b/tools/flex/Makefile
index 2fcc2c6..8e32ace 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)