[gnome-build-meta/carlosgc/webkitgtk-2.23.90] sdk/WebKitGTK: Build with -g1 on arm too



commit 884fa15e623622fa11f80fde9f89662f75d69368
Author: Abderrahim Kitouni <akitouni gnome org>
Date:   Tue Feb 19 10:44:59 2019 +0100

    sdk/WebKitGTK: Build with -g1 on arm too

 elements/sdk/WebKitGTK.bst | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/elements/sdk/WebKitGTK.bst b/elements/sdk/WebKitGTK.bst
index edec7d58..2f5bdcaf 100644
--- a/elements/sdk/WebKitGTK.bst
+++ b/elements/sdk/WebKitGTK.bst
@@ -45,17 +45,15 @@ depends:
 variables:
   webkitgtk_toolchain: ''
   (?):
-    - arch == "i686":
-        webkitgtk_toolchain: -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=toolchain.i686
-    - arch == "arm":
-        webkitgtk_toolchain: -DCMAKE_TOOLCHAIN_FILE=toolchain.arm
+    - arch == "i686" or arch == "arm":
+        webkitgtk_toolchain: -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=toolchain.%{arch}
   cmake-local:
     -DPORT=GTK
     -DENABLE_PLUGIN_PROCESS_GTK2=OFF
     -DENABLE_BUBBLEWRAP_SANDBOX=OFF
     %{webkitgtk_toolchain}
 (?):
-- arch == "i686":
+- arch == "i686" or arch == "arm":
     environment:
       CFLAGS: '-g1'
       CXXFLAGS: '-g1'


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