]> 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>
Tue, 18 Mar 2014 21:39:18 +0000 (21:39 +0000)
This allows building mod_soundtouch in clang as clang doesn't support
gcc's -fcheck-new.

src/mod/applications/mod_soundtouch/Makefile.am

index 183d71e09f3d4c205d20fa2e7117da1068d9c7c1..0c2e8270a6a4df3cb6331264f6eeed72b0b8a55d 100644 (file)
@@ -16,6 +16,7 @@ BUILT_SOURCES=$(LA)
 
 $(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