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

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue Jan 31 05:34:50 UTC 2006


Author: rstrode

Update of /cvs/dist/rpms/festival/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv32071

Modified Files:
	festival.spec 
Log Message:
- get gnopernicus working again. Patch from 
  Fernando Herrera <fherrera at gmail.com> (bug 178312)
- add a lot of compiler flags and random cruft to get
  festival to build with gcc 4.1



Index: festival.spec
===================================================================
RCS file: /cvs/dist/rpms/festival/devel/festival.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- festival.spec	23 Jan 2006 02:17:38 -0000	1.18
+++ festival.spec	31 Jan 2006 05:34:48 -0000	1.19
@@ -142,14 +142,14 @@
 pushd speech_tools
 %configure
 
-make CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -Wno-error" CFLAGS="$RPM_OPT_FLAGS -fno-string-aliasing -Wno-error"
+make CXXFLAGS="-ffriend-injection -fpermissive -Wno-deprecated -Wno-non-template-friend" CFLAGS="-ffriend-injection -fpermissive -Wno-deprecated -Wno-non-template-friend -O0"
 
 #g++ -shared -L../../../speech_tools/lib -lestools -lestbase -leststring -ltermcap -Wl,-soname -Wl,libFestival.so.1 -Wl,--rpath -Wl,/usr/lib -o ../libFestival.so.1.4.1 *
 
 popd
 
 %configure
-FTLIBDIR=%{_datadir}/festival make
+FTLIBDIR=%{_datadir}/festival make  CXXFLAGS="-ffriend-injection -fpermissive -Wno-deprecated -Wno-non-template-friend" CFLAGS="-ffriend-injection -fpermissive -Wno-deprecated -Wno-non-template-friend -O0"
 
 mkdir DATA.TMP
 cd DATA.TMP
@@ -166,7 +166,8 @@
 tar xzf %{SOURCE213}
 
 cd festival/lib/dicts/cmu
-make
+make  CXXFLAGS="-ffriend-injection -fpermissive -Wno-deprecated -Wno-non-template-friend" CFLAGS="-ffriend-injection -fpermissive -Wno-deprecated -Wno-non-template-friend -O0"
+
 cd ../../..
 
 %install
@@ -292,8 +293,10 @@
 
 %changelog
 * Sun Jan 22 2006 Ray Strode <rstrode at redhat.com> - 1.95-5
-- get gnopernicus again. Patch from 
+- get gnopernicus working again. Patch from 
   Fernando Herrera <fherrera at gmail.com> (bug 178312)
+- add a lot of compiler flags and random cruft to get
+  festival to build with gcc 4.1
 
 * Fri Dec 09 2005 Jesse Keating <jkeating at redhat.com>
 - rebuilt




More information about the fedora-cvs-commits mailing list