summaryrefslogtreecommitdiff
path: root/dev-util/ostree/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-06-23 07:23:47 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-06-23 07:23:47 +0100
commit8702447e13af0a540c01f75bee0416677bced231 (patch)
treec48f57af58200e8671b2cf0e8685449dffe3a12c /dev-util/ostree/files
parent7828eef5de9e45f50282e2b1eaf348f1ac7af477 (diff)
gentoo auto-resync : 23:06:2023 - 07:23:46
Diffstat (limited to 'dev-util/ostree/files')
-rw-r--r--dev-util/ostree/files/ostree-2023.3-dont-force-clang-introspection.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-util/ostree/files/ostree-2023.3-dont-force-clang-introspection.patch b/dev-util/ostree/files/ostree-2023.3-dont-force-clang-introspection.patch
new file mode 100644
index 000000000000..c8f554ae69a0
--- /dev/null
+++ b/dev-util/ostree/files/ostree-2023.3-dont-force-clang-introspection.patch
@@ -0,0 +1,14 @@
+Clang has supported -fstack-clash-protection for a while now.
+--- a/Makefile-libostree.am
++++ b/Makefile-libostree.am
+@@ -266,10 +266,6 @@ libostree_1_la_CFLAGS += $(OT_DEP_LIBSODIUM_CFLAGS)
+ libostree_1_la_LIBADD += $(OT_DEP_LIBSODIUM_LIBS)
+ endif # USE_LIBSODIUM
+
+-# XXX: work around clang being passed -fstack-clash-protection which it doesn't understand
+-# See: https://bugzilla.redhat.com/show_bug.cgi?id=1672012
+-INTROSPECTION_SCANNER_ENV = CC=gcc
+-
+ if BUILDOPT_INTROSPECTION
+ OSTree-1.0.gir: libostree-1.la Makefile
+ OSTree_1_0_gir_EXPORT_PACKAGES = ostree-1