[gtk-osx] Silence a couple of warnings for webkit and webkit1gtk3.



commit efa658dd52924312f6cd60aadd12d3d73aadcaa9
Author: John Ralls <jralls ceridwen us>
Date:   Tue Oct 17 10:22:33 2017 -0700

    Silence a couple of warnings for webkit and webkit1gtk3.

 jhbuildrc-gtk-osx |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/jhbuildrc-gtk-osx b/jhbuildrc-gtk-osx
index e70dfba..c3c5c23 100644
--- a/jhbuildrc-gtk-osx
+++ b/jhbuildrc-gtk-osx
@@ -333,6 +333,9 @@ def setup_sdk(target=_target, sdk_version=None, architectures=[_default_arch]):
     # GMP deliberately attempts to use CC_FOR_BUILD with no separate
     # cflags so we need to force it:
     module_extra_env['gmp'] = {'CC_FOR_BUILD':os.environ['CC'] + ' ' + os.environ['CFLAGS']}
+    # Kill a couple of noisy warnings for webkit1:
+    module_extra_env["webkit"] = {'CPPFLAGS':os.environ['CPPFLAGS'] + " -Wno-unused-local-typedef 
-Wno-missing-field-initializsers"}
+    module_extra_env["webkit1gtk3"] = {'CPPFLAGS':os.environ['CPPFLAGS'] + " -Wno-unused-local-typedef 
-Wno-missing-field-initializsers -Wno-undefined-bool-conversion"}
 
     # Finally when building normally we need to force CFLAGS_FOR_BUILD
     # to our current CFLAGS so that everything will link with other


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]