From 35d7987680da80b976ab2960a8201432b61f2e2e Mon Sep 17 00:00:00 2001 From: John (J5) Palmieri Date: Apr 28 2005 20:18:19 +0000 Subject: - use -O1 for ppc to get around compiler bug --- 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