File flex-2.5.34-fPIC.patch of Package flex

We've been packaging an -fPIC enabled libfl.a since some time, switching to
the new scheme is not worth it, package a libfl_pic.a -> libfl.a symlink
instead.
---
 Makefile.am |   11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)

--- Makefile.am.orig
+++ Makefile.am
@@ -40,8 +40,7 @@ indent = @INDENT@
 
 bin_PROGRAMS = flex
 lib_LIBRARIES = \
-	libfl.a \
-	libfl_pic.a
+	libfl.a
 
 flex_SOURCES = \
 	ccl.c \
@@ -70,13 +69,7 @@ libfl_a_SOURCES = \
 	libmain.c \
 	libyywrap.c
 
-libfl_pic_a_SOURCES = \
-	libmain.c \
-	libyywrap.c
-
-libfl_pic_a_CFLAGS =  \
-	-fPIC         \
-	$(AM_CFLAGS)
+libfl_a_CFLAGS = -fPIC $(AM_CFLAGS)
 
 noinst_HEADERS = \
 	flexdef.h \
openSUSE Build Service is sponsored by