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

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12859 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Stefan Knoblich 2009-03-31 23:36:35 +00:00
parent cfdc73a7b7
commit 0112970da8
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ $(FLITE_DIR):
$(GETLIB) $(FLITE)-latest.tar.gz $(GETLIB) $(FLITE)-latest.tar.gz
$(FLITE_DIR)/Makefile: $(FLITE_DIR) $(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) $(TOUCH_TARGET)
$(FLITE_A): $(FLITE_DIR) $(FLITE_DIR)/Makefile $(FLITE_A): $(FLITE_DIR) $(FLITE_DIR)/Makefile