fix -pie builds on x86_64 - compile with -fpic
This commit is contained in:
parent
22762ed89f
commit
b546d2f445
@ -1,7 +1,7 @@
|
|||||||
Summary: A tool for creating scanners (text pattern recognizers).
|
Summary: A tool for creating scanners (text pattern recognizers).
|
||||||
Name: flex
|
Name: flex
|
||||||
Version: 2.5.4a
|
Version: 2.5.4a
|
||||||
Release: 34.2
|
Release: 34.3
|
||||||
License: BSD
|
License: BSD
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
BuildRoot: %{_tmppath}/%{name}-root
|
BuildRoot: %{_tmppath}/%{name}-root
|
||||||
@ -13,7 +13,7 @@ Patch1: flex-2.5.4-glibc22.patch
|
|||||||
Patch2: flex-2.5.4a-gcc3.patch
|
Patch2: flex-2.5.4a-gcc3.patch
|
||||||
Patch3: flex-2.5.4a-gcc31.patch
|
Patch3: flex-2.5.4a-gcc31.patch
|
||||||
Patch4: flex-2.5.4a2.patch
|
Patch4: flex-2.5.4a2.patch
|
||||||
|
Patch5: flex-pic.patch
|
||||||
BuildRequires: autoconf, byacc
|
BuildRequires: autoconf, byacc
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -37,6 +37,7 @@ application development.
|
|||||||
%patch2 -p1 -b .glib3
|
%patch2 -p1 -b .glib3
|
||||||
%patch3 -p1 -b .gcc31
|
%patch3 -p1 -b .gcc31
|
||||||
%patch4 -p1 -b .yynoinput
|
%patch4 -p1 -b .yynoinput
|
||||||
|
%patch5 -p1 -b .pic
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoconf
|
autoconf
|
||||||
@ -71,7 +72,8 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Sun Dec 18 2005 Jason Vas Dias<jvdias@redhat.com>
|
* Sun Dec 18 2005 Jason Vas Dias<jvdias@redhat.com>
|
||||||
* rebuilt
|
* rebuild with 'flex-pic.patch' to enable -pie links
|
||||||
|
on x86_64 (patch from Jesse Keating) .
|
||||||
|
|
||||||
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
||||||
- rebuilt
|
- rebuilt
|
||||||
|
Loading…
Reference in New Issue
Block a user