diff --git a/festival.spec b/festival.spec index 5c58d05..48c5429 100644 --- a/festival.spec +++ b/festival.spec @@ -138,6 +138,12 @@ make #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 + +%ifarch ppc +CFLAGS="$RPM_OPT_FLAGS -O1" +export CFLAGS +%endif + %configure FTLIBDIR=%{_datadir}/festival make