]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Flite does not like the "-std=c99" flag, use the fix from mod_xml_ldap (for openldap...
authorStefan Knoblich <stkn@freeswitch.org>
Tue, 31 Mar 2009 23:36:35 +0000 (23:36 +0000)
committerStefan Knoblich <stkn@freeswitch.org>
Tue, 31 Mar 2009 23:36:35 +0000 (23:36 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12859 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/asr_tts/mod_flite/Makefile

index 98ddaec70fd370e9732eab04809f9d326a145556..8c9433d7cd9de5d54be7a974bcdbb5b744598f05 100644 (file)
@@ -17,7 +17,7 @@ $(FLITE_DIR):
        $(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