[Freeswitch-svn] [commit] r12859 - freeswitch/trunk/src/mod/asr_tts/mod_flite

FreeSWITCH SVN stkn at freeswitch.org
Tue Mar 31 16:36:35 PDT 2009


Author: stkn
Date: Tue Mar 31 18:36:35 2009
New Revision: 12859

Log:
Flite does not like the "-std=c99" flag, use the fix from mod_xml_ldap (for openldap) to remove it from CFLAGS before calling the flite configure script

Modified:
   freeswitch/trunk/src/mod/asr_tts/mod_flite/Makefile

Modified: freeswitch/trunk/src/mod/asr_tts/mod_flite/Makefile
==============================================================================
--- freeswitch/trunk/src/mod/asr_tts/mod_flite/Makefile	(original)
+++ freeswitch/trunk/src/mod/asr_tts/mod_flite/Makefile	Tue Mar 31 18:36:35 2009
@@ -17,7 +17,7 @@
 	$(GETLIB) $(FLITE)-latest.tar.gz
 
 $(FLITE_DIR)/Makefile: $(FLITE_DIR)
-	cd $(FLITE_DIR) && ./configure --without-audio --with-pic --disable-shared
+	cd $(FLITE_DIR) && CFLAGS="`echo $(CFLAGS) | sed -e 's:-std=c99::'`" ./configure --without-audio --with-pic --disable-shared
 	$(TOUCH_TARGET)
 
 $(FLITE_A): $(FLITE_DIR) $(FLITE_DIR)/Makefile



More information about the Freeswitch-svn mailing list