]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FSBUILD-58 pocketsphinx rpmbuild fix
authorMichael Jerris <mike@jerris.com>
Fri, 12 Dec 2008 01:43:21 +0000 (01:43 +0000)
committerMichael Jerris <mike@jerris.com>
Fri, 12 Dec 2008 01:43:21 +0000 (01:43 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10725 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/asr_tts/mod_pocketsphinx/Makefile

index 70861c6d3be9a4f70ce495196c4eb7f941226391..b1a7a24c63baabe9f14757d84d1110054f0e8fa8 100644 (file)
@@ -18,7 +18,7 @@ $(SPHINXBASE_DIR):
        $(GETLIB) $(SPHINXBASE).tar.gz
 
 $(SPHINXBASE_DIR)/buildstamp: $(SPHINXBASE_DIR)
-       test -f $(SPHINXBASE_DIR)/Makefile || (cd $(SPHINXBASE_DIR) && ./configure --with-pic --without-python --disable-shared)
+       test -f $(SPHINXBASE_DIR)/Makefile || (cd $(SPHINXBASE_DIR) && ./configure --with-pic --without-python --disable-shared CFLAGS=)
        test -f $(SPHINXBASE_DIR)/buildstamp || (touch $(SPHINXBASE_DIR)/buildstamp)
 
 $(SPHINXBASE_LA): $(SPHINXBASE_DIR)/buildstamp
@@ -29,7 +29,7 @@ $(POCKETSPHINX_DIR):
        $(GETLIB) $(POCKETSPHINX).tar.gz
 
 $(POCKETSPHINX_DIR)/Makefile: $(POCKETSPHINX_DIR)
-       cd $(POCKETSPHINX_DIR) && ./configure --with-pic --without-python --disable-shared --with-sphinxbase=$(SPHINXBASE_DIR)
+       cd $(POCKETSPHINX_DIR) && ./configure --with-pic --without-python --disable-shared --with-sphinxbase=$(SPHINXBASE_DIR) CFLAGS=
        $(TOUCH_TARGET)
 
 $(POCKETSPHINX_DIR)/buildstamp: $(POCKETSPHINX_DIR)/Makefile