]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-6293: srcdir builds, pass along CFLAGS to spandsp lib build as well, not just...
authorMichael Jerris <mike@jerris.com>
Sun, 16 Mar 2014 02:14:11 +0000 (22:14 -0400)
committerMichael Jerris <mike@jerris.com>
Sun, 16 Mar 2014 02:14:11 +0000 (22:14 -0400)
src/mod/applications/mod_spandsp/Makefile.am

index 41c423aa0c8f1ed32399fb4331f6dbed8e8c5f04..57caf210e2b4c549965bdb618262d877ea9ef7ac 100644 (file)
@@ -16,7 +16,7 @@ mod_spandsp_la_LIBADD   = $(switch_builddir)/libfreeswitch.la $(SPANDSP_LA) $(TI
 mod_spandsp_la_LDFLAGS  = -avoid-version -module -no-undefined -shared
 
 $(SPANDSP_LA): $(TIFF_LA) $(SPANDSP_DIR) $(SPANDSP_DIR)/.update
-       cd $(SPANDSP_BUILDDIR) && $(MAKE) -j1 CFLAGS="-I$(TIFF_BUILDDIR)/libtiff"
+       cd $(SPANDSP_BUILDDIR) && $(MAKE) -j1 CFLAGS="$(CFLAGS) -I$(TIFF_BUILDDIR)/libtiff"
        $(TOUCH_TARGET)
 
 $(TIFF_LA): $(TIFF_DIR) $(TIFF_DIR)/.update