rpms/Inventor/F-9 Inventor.spec,1.45,1.46

Ralf Corsépius (corsepiu) fedora-extras-commits at redhat.com
Tue Jun 3 07:43:19 UTC 2008


Author: corsepiu

Update of /cvs/pkgs/rpms/Inventor/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11520

Modified Files:
	Inventor.spec 
Log Message:
* Tue Jun 03 2008 Ralf Corsépius <rc040203 at freenet.de> - 2.1.5-33
- Add -fnostrict-aliasing to VCXXOPTS to work around GCC-4.3 breakage.



Index: Inventor.spec
===================================================================
RCS file: /cvs/pkgs/rpms/Inventor/F-9/Inventor.spec,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -r1.45 -r1.46
--- Inventor.spec	18 Feb 2008 23:01:20 -0000	1.45
+++ Inventor.spec	3 Jun 2008 07:42:20 -0000	1.46
@@ -6,7 +6,7 @@
 
 Name:           Inventor
 Version:        2.1.5
-Release:        32%{?dist}
+Release:        33%{?dist}
 
 Summary:        SGI Open Inventor (TM)
 
@@ -18,8 +18,8 @@
 Patch1:		Inventor-2.1.5-30-31.diff
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-# BZ: 245192
-# ExcludeArch:	ppc64
+
+%define hackcxxflags -O2 -fno-strict-aliasing
 
 BuildRequires:  libGLU-devel
 BuildRequires:	libGLw-devel
@@ -182,7 +182,7 @@
 rm -rf $RPM_BUILD_ROOT
 export LD_LIBRARY_PATH=${RPM_BUILD_ROOT}%{_libdir}
 export VCOPTS="${RPM_OPT_FLAGS} -D_REENTRANT"
-export VCXXOPTS="${RPM_OPT_FLAGS} -D_REENTRANT -D__STDC_FORMAT_MACROS"
+export VCXXOPTS=$(echo "${RPM_OPT_FLAGS} -D_REENTRANT -D__STDC_FORMAT_MACROS" | sed -e 's,-O2,%{hackcxxflags},')
 make all \
   FREETYPE=1 IVROOT=${RPM_BUILD_ROOT} \
   LSUBDIRS="libimage tools libFL"
@@ -338,6 +338,9 @@
 %{_libdir}/Inventor/examples
 
 %changelog
+* Tue Jun 03 2008 Ralf Corsépius <rc040203 at freenet.de> - 2.1.5-33
+- Add -fnostrict-aliasing to VCXXOPTS to work around GCC-4.3 breakage.
+
 * Mon Feb 18 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 2.1.5-32
 - Autorebuild for GCC 4.3
 




More information about the fedora-extras-commits mailing list