[gnome-build-meta/alatiera/wip-3-34-2] Build vte with -fno-exceptions



commit 3e340f627975b468b2267940ad2c7f96ded1f319
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Thu Oct 24 15:02:48 2019 -0500

    Build vte with -fno-exceptions
    
    Fixes #207

 elements/sdk/vte.bst | 13 +++++++++++++
 1 file changed, 13 insertions(+)
---
diff --git a/elements/sdk/vte.bst b/elements/sdk/vte.bst
index ce9aa588..8ed3f0fd 100644
--- a/elements/sdk/vte.bst
+++ b/elements/sdk/vte.bst
@@ -18,3 +18,16 @@ depends:
   type: build
 - filename: bootstrap-import.bst
   junction: freedesktop-sdk.bst
+(?):
+- arch == "x86_64":
+    environment:
+      CXXFLAGS: "%{flags_x86_64} -fno-exceptions"
+- arch == "i686":
+    environment:
+      CXXFLAGS: "%{flags_i686} -fno-exceptions"
+- arch == "arm":
+    environment:
+      CXXFLAGS: "%{flags_arm} -fno-exceptions"
+- arch == "aarch64":
+    environment:
+      CXXFLAGS: "%{flags_aarch64} -fno-exceptions"


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