rpms/compat-gcc-34/devel compat-gcc-34.spec,1.17,1.18

Karsten Hopp karsten at fedoraproject.org
Mon Aug 31 11:59:49 UTC 2009


Author: karsten

Update of /cvs/extras/rpms/compat-gcc-34/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11137

Modified Files:
	compat-gcc-34.spec 
Log Message:
- strip -march=z9-109 and -mtune=z10 from OPT_FLAGS on s390, s390x
  (#519507)



Index: compat-gcc-34.spec
===================================================================
RCS file: /cvs/extras/rpms/compat-gcc-34/devel/compat-gcc-34.spec,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -p -r1.17 -r1.18
--- compat-gcc-34.spec	31 Jul 2009 16:26:09 -0000	1.17
+++ compat-gcc-34.spec	31 Aug 2009 11:59:49 -0000	1.18
@@ -16,7 +16,7 @@
 Summary: Compatibility GNU Compiler Collection
 Name: compat-gcc-34
 Version: 3.4.6
-Release: 17
+Release: 18
 # libgcc and crtstuff have an exception which allows
 # linking it into any kind of programs or shared libraries without
 # restrictions.
@@ -281,6 +281,9 @@ OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-mt
 %ifarch sparc sparcv9 sparc64
 OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-mcpu=ultrasparc/-mtune=ultrasparc/g'`
 %endif
+%ifarch s390 s390x
+OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-march=z9-109//g;s/-mtune=z10//g'`
+%endif
 OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-Wall//g' -e 's/-Wp,-D_FORTIFY_SOURCE=2//g'`
 OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-fexceptions//g' -e 's/-fasynchronous-unwind-tables//g'`
 OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-fstack-protector//g' -e 's/--param=ssp-buffer-size=[0-9]*//g'`
@@ -674,6 +677,10 @@ fi
 %{_prefix}/%{_lib}/libg2c.so.0*
 
 %changelog
+* Mon Aug 31 2009 Karsten Hopp <karsten at redhat.com> 3.4.6-18
+- strip -march=z9-109 and -mtune=z10 from OPT_FLAGS on s390, s390x
+  (#519507)
+
 * Fri Jul 31 2009 Jakub Jelinek  <jakub at redhat.com> 3.4.6-17
 - make sure to use system libgcc_s.so.1 instead of gcc34 one during
   testing




More information about the fedora-extras-commits mailing list