summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-02-29 23:55:20 +0000
committerSam James <sam@gentoo.org>2024-02-29 23:55:20 +0000
commitb1819ee24f13b5786f5da5824112050a852035c5 (patch)
treeaeffbec1a39599b3b2866d86970988b395218bc5 /media-libs/fdk-aac
parentnet-mail/courier-common: Stabilize 3.1.5 arm, #925883 (diff)
downloadgentoo-b1819ee24f13b5786f5da5824112050a852035c5.tar.gz
gentoo-b1819ee24f13b5786f5da5824112050a852035c5.tar.bz2
gentoo-b1819ee24f13b5786f5da5824112050a852035c5.zip
media-libs/fdk-aac: filter LTO (ODR violations)
ODR violations and no progress on upstream bug. Bug: https://github.com/mstorsjo/fdk-aac/issues/156 Closes: https://bugs.gentoo.org/885355 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/fdk-aac')
-rw-r--r--media-libs/fdk-aac/fdk-aac-2.0.3.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/media-libs/fdk-aac/fdk-aac-2.0.3.ebuild b/media-libs/fdk-aac/fdk-aac-2.0.3.ebuild
index 17a63704bd74..f4e614cb36ca 100644
--- a/media-libs/fdk-aac/fdk-aac-2.0.3.ebuild
+++ b/media-libs/fdk-aac/fdk-aac-2.0.3.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit multilib-minimal
+inherit flag-o-matic multilib-minimal
if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="https://github.com/mstorsjo/${PN}.git"
@@ -37,6 +37,12 @@ src_prepare() {
fi
}
+src_configure() {
+ # ODR violations (https://github.com/mstorsjo/fdk-aac/issues/156, bug #885355)
+ filter-lto
+ multilib-minimal_src_configure
+}
+
multilib_src_configure() {
local myeconfargs=(
--disable-static