]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Edit out gcc-ism from soundtouch lib
authorTravis Cross <tc@traviscross.com>
Tue, 18 Mar 2014 21:36:37 +0000 (21:36 +0000)
committerTravis Cross <tc@traviscross.com>
Sat, 19 Apr 2014 04:08:36 +0000 (04:08 +0000)
This allows building mod_soundtouch in clang as clang doesn't support
gcc's -fcheck-new.

src/mod/applications/mod_soundtouch/Makefile

index 0afa65ca691e2dbb755a1dae7b1a11224d040f00..63377a11c8ba8d143cd81f433103f42cf3674db9 100644 (file)
@@ -11,6 +11,7 @@ include $(BASE)/build/modmake.rules
 
 $(SNDT_SRC):
        $(GETLIB) $(VERSION).tar.gz
+       sed -i'' -e 's/-fcheck-new//' $(top_srcdir)/libs/soundtouch/source/SoundTouch/Makefile.am
 
 $(SNDT_BUILD)/Makefile: $(SNDT_SRC)
        mkdir -p $(SNDT_BUILD)/config/m4