summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-07-04 06:38:57 +0100
committerSam James <sam@gentoo.org>2024-07-04 15:43:43 +0100
commitfed53b4f51360f32ed3dd59b90f66c4c787c1aa9 (patch)
tree472ca19775f416cbbe4b17cac7d75b7e1de36271
parentdev-libs/castxml: add 0.6.7 (diff)
downloadgentoo-fed53b4f51360f32ed3dd59b90f66c4c787c1aa9.tar.gz
gentoo-fed53b4f51360f32ed3dd59b90f66c4c787c1aa9.tar.bz2
gentoo-fed53b4f51360f32ed3dd59b90f66c4c787c1aa9.zip
media-libs/flac: pass -fno-ipa-pta
-fipa-pta exposes a test failure in replaygain_analysis. We might be able to replace this with a -ffp-contract=off (or standard, I guess) option but I'm too tired to experiment with that for tonight. Thanks to Alexander Monakov for the analysis. Bug: https://gcc.gnu.org/PR115533 Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--media-libs/flac/flac-1.4.3.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/media-libs/flac/flac-1.4.3.ebuild b/media-libs/flac/flac-1.4.3.ebuild
index c6ba4c45cf3b..88c731fe0cbc 100644
--- a/media-libs/flac/flac-1.4.3.ebuild
+++ b/media-libs/flac/flac-1.4.3.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit multilib-minimal
+inherit flag-o-matic multilib-minimal
DESCRIPTION="Free lossless audio encoder and decoder"
HOMEPAGE="https://xiph.org/flac/"
@@ -28,6 +28,10 @@ BDEPEND="
"
multilib_src_configure() {
+ # -fipa-pta exposes a test failure in replaygain_analysis (https://gcc.gnu.org/PR115533)
+ # TOOD: Replace with some -ffp-contract= option?
+ append-flags $(test-flags-CC -fno-ipa-pta)
+
local myeconfargs=(
--disable-doxygen-docs
--disable-examples