[gnome-build-meta/abderrahim/webkit-workarounds: 5/5] sdk/WebKitGTK+: use -g1 only for i686



commit 2381cb778ac41273ab3f335bd4b941d292361275
Author: Abderrahim Kitouni <akitouni gnome org>
Date:   Thu Nov 1 14:00:57 2018 +0100

    sdk/WebKitGTK+: use -g1 only for i686
    
    Fix #63

 elements/sdk/WebKitGTK+.bst | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/elements/sdk/WebKitGTK+.bst b/elements/sdk/WebKitGTK+.bst
index 03f93a9..269931c 100644
--- a/elements/sdk/WebKitGTK+.bst
+++ b/elements/sdk/WebKitGTK+.bst
@@ -48,10 +48,12 @@ variables:
   webkitgtk_toolchain: ''
   (?):
     - arch == "i686":
-        webkitgtk_toolchain: -DCMAKE_TOOLCHAIN_FILE=toolchain.i386
+        webkitgtk_toolchain: -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=toolchain.i386
     - arch == "arm":
         webkitgtk_toolchain: -DCMAKE_TOOLCHAIN_FILE=toolchain.arm
-  cmake-local: -DCMAKE_BUILD_TYPE=Release -DPORT=GTK -DENABLE_PLUGIN_PROCESS_GTK2=OFF %{webkitgtk_toolchain}
-environment:
-  CFLAGS: '-g1'
-  CXXFLAGS: '-g1'
+  cmake-local: -DPORT=GTK -DENABLE_PLUGIN_PROCESS_GTK2=OFF %{webkitgtk_toolchain}
+(?):
+- arch == "i686":
+    environment:
+      CFLAGS: '-g1'
+      CXXFLAGS: '-g1'


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