diff options
author | João Valverde <joao.valverde@tecnico.ulisboa.pt> | 2015-11-18 16:31:31 +0000 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2015-11-21 13:50:54 +0000 |
commit | 67d9daa65b9d555ced9fb1a9df90b1f8f1a4a257 (patch) | |
tree | fd996d97c128dc0d474cfd4d98e7833ddb7099bc /aclocal-fallback/gtk-3.0.m4 | |
parent | f711fbfae45d737142f30bdb1777d8c621d163de (diff) |
autotools: Fix extra-compiler-warnings for system headers
Use -isystem instead of -I for external headers with GCC/clang to squash
all the noise.
cmake already uses -isystem by default for supported platforms/compilers.
Change-Id: Ia6c9d1eb9b894fda6f48c531094d792e16fd39fc
Reviewed-on: https://code.wireshark.org/review/11947
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Diffstat (limited to 'aclocal-fallback/gtk-3.0.m4')
-rw-r--r-- | aclocal-fallback/gtk-3.0.m4 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/aclocal-fallback/gtk-3.0.m4 b/aclocal-fallback/gtk-3.0.m4 index 68c169f1df..968e5ee03e 100644 --- a/aclocal-fallback/gtk-3.0.m4 +++ b/aclocal-fallback/gtk-3.0.m4 @@ -57,6 +57,7 @@ AC_ARG_ENABLE(gtktest, [ --disable-gtktest do not try to compile and run if test x"$no_gtk" = x ; then GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags` + AC_WIRESHARK_GCC_SYSTEM_INCLUDE(GTK_CFLAGS) GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs` gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-3.0 | \ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` |