summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-03-29 04:17:29 +0000
committerSam James <sam@gentoo.org>2024-03-29 04:17:29 +0000
commit8eee7939509b0575edf7dffc8d09b35e50e05e2b (patch)
tree61cb0bbcc390cc3cd494a03162f7ceb9c3810bc7 /dev-libs
parentnet-libs/rustls-ffi: drop nightly use (again) (diff)
downloadgentoo-8eee7939509b0575edf7dffc8d09b35e50e05e2b.tar.gz
gentoo-8eee7939509b0575edf7dffc8d09b35e50e05e2b.tar.bz2
gentoo-8eee7939509b0575edf7dffc8d09b35e50e05e2b.zip
dev-libs/libgit2: filter LTO, no SA
Test failures with -O3 -flto. I'm going to keep the bug open for a bit longer pending investigation though. Bug: https://bugs.gentoo.org/927821 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libgit2/libgit2-1.7.2.ebuild3
-rw-r--r--dev-libs/libgit2/libgit2-1.8.0.ebuild3
2 files changed, 6 insertions, 0 deletions
diff --git a/dev-libs/libgit2/libgit2-1.7.2.ebuild b/dev-libs/libgit2/libgit2-1.7.2.ebuild
index 0189210875a8..e6996dbfbafa 100644
--- a/dev-libs/libgit2/libgit2-1.7.2.ebuild
+++ b/dev-libs/libgit2/libgit2-1.7.2.ebuild
@@ -44,6 +44,9 @@ src_configure() {
-DUSE_HTTP_PARSER=system
-DREGEX_BACKEND=pcre2
)
+ # https://bugs.gentoo.org/927821
+ append-flags -fno-strict-aliasing
+ filter-lto
# https://bugs.gentoo.org/925207
append-lfs-flags
cmake_src_configure
diff --git a/dev-libs/libgit2/libgit2-1.8.0.ebuild b/dev-libs/libgit2/libgit2-1.8.0.ebuild
index 9f21956dbf5b..c7a83421adc0 100644
--- a/dev-libs/libgit2/libgit2-1.8.0.ebuild
+++ b/dev-libs/libgit2/libgit2-1.8.0.ebuild
@@ -44,6 +44,9 @@ src_configure() {
-DUSE_HTTP_PARSER=system
-DREGEX_BACKEND=pcre2
)
+ # https://bugs.gentoo.org/927821
+ append-flags -fno-strict-aliasing
+ filter-lto
# https://bugs.gentoo.org/925207
append-lfs-flags
cmake_src_configure