From 8087fa9e045d4c9ff12eaba6f65b1ba0b0364054 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 12 Mar 2014 10:47:31 +0000 Subject: [PATCH] flex: fix build error due to undefined library symbols Signed-off-by: Felix Fietkau SVN-Revision: 39888 --- tools/Makefile | 2 +- .../flex/patches/100-remove_no_undefined.patch | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 tools/flex/patches/100-remove_no_undefined.patch diff --git a/tools/Makefile b/tools/Makefile index 7466b82e4b..428cf0bedb 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -41,7 +41,7 @@ tools-$(BUILD_PPL_CLOOG) += ppl cloog # builddir dependencies $(curdir)/bison/compile := $(curdir)/flex/install -$(curdir)/flex/compile := $(curdir)/m4/install +$(curdir)/flex/compile := $(curdir)/automake/install $(curdir)/pkg-config/compile := $(curdir)/sed/install $(curdir)/libtool/compile := $(curdir)/sed/install $(curdir)/squashfs/compile := $(curdir)/lzma-old/install diff --git a/tools/flex/patches/100-remove_no_undefined.patch b/tools/flex/patches/100-remove_no_undefined.patch new file mode 100644 index 0000000000..4e8aca13c7 --- /dev/null +++ b/tools/flex/patches/100-remove_no_undefined.patch @@ -0,0 +1,18 @@ +--- a/Makefile.am ++++ b/Makefile.am +@@ -73,13 +73,13 @@ libfl_la_SOURCES = \ + libmain.c \ + libyywrap.c + +-libfl_la_LDFLAGS = -no-undefined -version-info @SHARED_VERSION_INFO@ ++libfl_la_LDFLAGS = -version-info @SHARED_VERSION_INFO@ + + libfl_pic_la_SOURCES = \ + libmain.c \ + libyywrap.c + +-libfl_pic_la_LDFLAGS = -no-undefined -version-info @SHARED_VERSION_INFO@ ++libfl_pic_la_LDFLAGS = -version-info @SHARED_VERSION_INFO@ + + noinst_HEADERS = \ + flexdef.h \ -- 2.30.2