rpms/ghdl/devel ghdl.spec,1.11,1.12
Thomas M. Sailer (sailer)
fedora-extras-commits at redhat.com
Fri Mar 17 23:31:35 UTC 2006
Author: sailer
Update of /cvs/extras/rpms/ghdl/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9613
Modified Files:
ghdl.spec
Log Message:
-mtune=generic is apparently not supported by FSF gcc
Index: ghdl.spec
===================================================================
RCS file: /cvs/extras/rpms/ghdl/devel/ghdl.spec,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- ghdl.spec 16 Mar 2006 22:33:48 -0000 1.11
+++ ghdl.spec 17 Mar 2006 23:31:35 -0000 1.12
@@ -71,6 +71,12 @@
# These compiler flags in rawhide seem to break the build, so get rid of them
OPT_FLAGS=$(echo $OPT_FLAGS | %{__sed} \
+%ifarch i386 i486 i586 i686
+ -e 's/-mtune=generic/-mtune=pentium4/g' \
+%endif
+%ifarch x86_64
+ -e 's/-mtune=generic/-mtune=nocona/g' \
+%endif
-e 's/-fstack-protector//g ' \
-e 's/--param=ssp-buffer-size=[0-9]*//g')
More information about the fedora-extras-commits
mailing list