From 999aad38acb9e11435d4a4313db4589defe19eb7 Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Wed, 12 Jul 2017 10:47:01 +0000 Subject: WebKit: build with expansion-to-defined warning disabled 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) --- gnome/strata/WebKitGtk1-common/WebKitGtk1.morph | 2 +- gnome/strata/gnome/WebKitGtk.morph | 2 +- 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 -- cgit v1.2.1