[SVN] r2916 - trunk/rpms/plib

svn-commits at rpmforge.net svn-commits at rpmforge.net
Tue Mar 1 00:19:37 CET 2005


Author: thias
Date: 2005-03-01 00:19:37 +0100 (Tue, 01 Mar 2005)
New Revision: 2916

Modified:
   trunk/rpms/plib/plib.spec
Log:
Add -fPIC for x86_64 build of dependant applications to work (torcs).


Modified: trunk/rpms/plib/plib.spec
===================================================================
--- trunk/rpms/plib/plib.spec	2005-02-28 23:11:55 UTC (rev 2915)
+++ trunk/rpms/plib/plib.spec	2005-02-28 23:19:37 UTC (rev 2916)
@@ -4,7 +4,7 @@
 Summary: Set of portable libraries especially useful for games
 Name: plib
 Version: 1.8.3
-Release: 3
+Release: 4
 License: LGPL
 Group: System Environment/Libraries
 URL: http://plib.sourceforge.net/
@@ -23,9 +23,8 @@
 %package devel
 Summary: Set of portable libraries especially useful for games
 Group: Development/Libraries
+Obsoletes: plib <= 1.6.0
 
-Obsoletes: plib < %{version}-%{release}
-
 %description devel
 This is a set of OpenSource (LGPL) libraries that will permit programmers
 to write games and other realtime interactive applications that are 100%
@@ -39,7 +38,7 @@
 
 
 %build
-%configure
+%configure CXXFLAGS="%{optflags} -fPIC"
 %{__make} %{?_smp_mflags}
 
 
@@ -60,6 +59,9 @@
 
 
 %changelog
+* Wed Feb  9 2005 Matthias Saou <http://freshrpms.net/> 1.8.3-4
+- Force -fPIC to be added to CXXFLAGS to fix linking against the lib on x86_64.
+
 * Thu Jul 15 2004 Matthias Saou <http://freshrpms.net/> 1.8.3-3
 - Only build a devel package now as all files are headers and static libs.
 




More information about the commits mailing list