summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libgit2')
-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