ALT Linux repos
Group :: Development/Other
RPM: flex
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: flex-2.5.36-suse-pic.patch
Download
Download
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.
--- flex/Makefile.am
+++ flex/Makefile.am
@@ -40,8 +40,7 @@ indent = @INDENT@
bin_PROGRAMS = flex
lib_LIBRARIES = \
- libfl.a \
- libfl_pic.a
+ libfl.a
flex_SOURCES = \
ccl.c \
@@ -73,11 +72,7 @@ libfl_a_SOURCES = \
libmain.c \
libyywrap.c
-libfl_pic_a_SOURCES = \
- libmain.c \
- libyywrap.c
-
-libfl_pic_a_CFLAGS = \
+libfl_a_CFLAGS = \
-fPIC \
$(AM_CFLAGS)