summaryrefslogtreecommitdiff
path: root/dev-util/ostree/files/ostree-2023.3-dont-force-clang-introspection.patch
blob: c8f554ae69a006a7e67b9d8dd2d5afca41d588fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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