summaryrefslogtreecommitdiff
path: root/gnome/strata
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2017-07-12 10:47:01 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2017-07-12 10:47:01 +0000
commit999aad38acb9e11435d4a4313db4589defe19eb7 (patch)
tree8ee475674b9a78684560e0a21110a4820f5466b8 /gnome/strata
parente4cc95cb586145d95089f89c125ee9edf00710ef (diff)
downloaddefinitions-999aad38acb9e11435d4a4313db4589defe19eb7.tar.gz
WebKit: build with expansion-to-defined warning disabledsam/webkit-warnings
See: https://bugs.webkit.org/show_bug.cgi?id=167643 Without this, the build log building with GCC 7 is 1GB in size due to huge amounts of this kind of thing: /WebKitGtk.build/Source/JavaScriptCore/b3/B3ArgumentRegValue.cpp:29:1: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] #if ENABLE(B3_JIT)
Diffstat (limited to 'gnome/strata')
-rw-r--r--gnome/strata/WebKitGtk1-common/WebKitGtk1.morph2
-rw-r--r--gnome/strata/gnome/WebKitGtk.morph2
2 files changed, 2 insertions, 2 deletions
diff --git a/gnome/strata/WebKitGtk1-common/WebKitGtk1.morph b/gnome/strata/WebKitGtk1-common/WebKitGtk1.morph
index b723248d..3c0c407c 100644
--- a/gnome/strata/WebKitGtk1-common/WebKitGtk1.morph
+++ b/gnome/strata/WebKitGtk1-common/WebKitGtk1.morph
@@ -2,4 +2,4 @@ name: WebKitGtk1
kind: chunk
build-system: autotools
configure-commands:
-- ./configure --prefix="$PREFIX" --sysconfdir=/etc --disable-webkit2 --enable-introspection
+- CXXFLAGS=-Wno-expansion-to-defined ./configure --prefix="$PREFIX" --sysconfdir=/etc --disable-webkit2 --enable-introspection
diff --git a/gnome/strata/gnome/WebKitGtk.morph b/gnome/strata/gnome/WebKitGtk.morph
index cbe1577c..9cb50a0d 100644
--- a/gnome/strata/gnome/WebKitGtk.morph
+++ b/gnome/strata/gnome/WebKitGtk.morph
@@ -2,4 +2,4 @@ name: WebKitGtk
kind: chunk
build-system: cmake
configure-commands:
-- cmake -DPORT=GTK -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="$PREFIX" -DCMAKE_INSTALL_LIBDIR=lib
+- CXXFLAGS=-Wno-expansion-to-defined cmake -DPORT=GTK -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="$PREFIX" -DCMAKE_INSTALL_LIBDIR=lib