SHA256
1
0
forked from pool/flex
flex/flex-2.5.34-fPIC.patch
Factory Maintainer 89a672bb76 Accepting request 138308 from home:coolo:branches:openSUSE:Factory
- update to 2.5.37
  ** Import flex into git. See
     git://flex.git.sourceforge.net/gitroot/flex/flex.
  ** Fix make install target to not fail when the flex++ program is
     already installed
  ** New translations from the translation project: de, fi, pl, vi
  ** various portability fixes that quiet compiler warnings on 64-bit
     hosts
  ** various manual fixes, including correcting the name of a %option and
     updating some simple examples to use ANSI C syntax
  ** various bug fixes that prevent certain error conditions from
     persisting when they should not persist
  ** improvements to the test suite so it behaves better when linking
     compiled files
  ** new translations from the translation project: ca, da, es, fi, fr,
     ga, ko, pt_br, ro, ru, sv, tr, zh_cn
  ** the flex distribution is now built with automake 1.10.1 and automake
     2.61
- add patch flex-2.5.37-notex.patch to compile without texlive
- remove patches no longer required:
   flex-2.5.33-yylineno.patch
   flex-2.5.34-doc-fix.diff
   flex-2.5.34-g++44.diff

OBS-URL: https://build.opensuse.org/request/show/138308
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/flex?expand=0&rev=12
2012-10-16 11:16:33 +00:00

37 lines
767 B
Diff

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(-)
Index: Makefile.am
===================================================================
--- 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 \
@@ -73,13 +72,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 \