]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
work around libzrtp warnings
authorTravis Cross <tc@traviscross.com>
Thu, 5 Apr 2012 06:08:21 +0000 (06:08 +0000)
committerTravis Cross <tc@traviscross.com>
Thu, 5 Apr 2012 06:08:21 +0000 (06:08 +0000)
This workaround makes the build work exactly as it did when libzrtp
was installed as a system library.  By default gcc ignores warnings
caused by system headers, so for the moment we'll continue to pretend
that libzrtp headers come from the system.

Makefile.am

index ec182b3ea895f19cc32b812ecc5d508eb07ee8af..a6aa32de2ab9eaf879fce2324d4025c1fd3333e3 100644 (file)
@@ -149,7 +149,7 @@ endif
 if ENABLE_ZRTP
 CORE_CFLAGS += -I$(switch_srcdir)/libs/libzrtp/third_party/bgaes
 CORE_CFLAGS += -I$(switch_srcdir)/libs/libzrtp/third_party/bnlib
-CORE_CFLAGS += -I$(switch_srcdir)/libs/libzrtp/include
+CORE_CFLAGS += -isystem $(switch_srcdir)/libs/libzrtp/include
 libfreeswitch_la_LDFLAGS += -Llibs/libzrtp/third_party/bnlib -lbn -Llibs/libzrtp/projects/gnu/build -lzrtp
 CORE_LIBS += libs/libzrtp/projects/gnu/build/libzrtp.a
 endif