[gnome-build-meta/mcatanzaro/vte] Build vte with -fno-exceptions



commit cb5ef6e54d51f5554e94b2fd70e9616778cfc33a
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 d794cfd5..e3e76187 100644
--- a/elements/sdk/vte.bst
+++ b/elements/sdk/vte.bst
@@ -15,3 +15,16 @@ depends:
 - freedesktop-sdk.bst:components/gnutls.bst
 - freedesktop-sdk.bst:components/pcre2.bst
 - freedesktop-sdk.bst:bootstrap-import.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]