rpms/bzflag/devel bzflag.spec,1.18,1.19

Nils Philippsen (nphilipp) fedora-extras-commits at redhat.com
Fri Nov 25 12:15:11 UTC 2005


Author: nphilipp

Update of /cvs/extras/rpms/bzflag/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14288

Modified Files:
	bzflag.spec 
Log Message:
use -fPIC, -pie (hopefully) correctly to avoid build problems on x86_64
don't use autogen.sh



Index: bzflag.spec
===================================================================
RCS file: /cvs/extras/rpms/bzflag/devel/bzflag.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- bzflag.spec	25 Nov 2005 11:51:59 -0000	1.18
+++ bzflag.spec	25 Nov 2005 12:15:09 -0000	1.19
@@ -36,7 +36,6 @@
 BuildRequires: c-ares-devel
 # for curl version checking in configure. ugh.
 BuildRequires: bc
-BuildRequires: libtool automake autoconf
 
 %description
 BZFlag is a 3D multi-player tank battle game  that  allows users to play
@@ -52,10 +51,10 @@
 %patch0 -p1 -b .isoc++
 
 %build
-./autogen.sh
 # Use PIE because bzflag/bzfs are networked server applications
-CFLAGS='-fPIE -pie %{optflags} -fno-strict-aliasing'
-CXXFLAGS='-fPIE -pie %{optflags} -fno-strict-aliasing'
+CFLAGS='-fPIC %{optflags} -fno-strict-aliasing'
+CXXFLAGS='-fPIC %{optflags} -fno-strict-aliasing'
+LDFLAGS='-pie'
 %configure \
     --libdir=%{_libdir}/bzflag \
     --includedir=%{_includedir}/bzflag
@@ -100,7 +99,7 @@
 - build require c-ares-devel instead of adns-devel
 - add newly introduced libs and includes (but exclude headers and static libs,
   courtesy of Matthias Saou)
-- run autogen.sh to avoid linking problems
+- use -fPIC, -pie (hopefully) correctly to avoid build problems on x86_64
 
 * Thu Nov 17 2005 Nils Philippsen <nphilipp at redhat.com> 2.0.2-5
 - rebuild to pick up new openssl version




More information about the fedora-extras-commits mailing list