diff options
author | Sam James <sam@gentoo.org> | 2022-06-18 16:19:42 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-06-18 16:19:47 +0100 |
commit | 31c929441087eb65c4cdcfc61b29acb3a50cb954 (patch) | |
tree | c6a8e9389aaf4a9976ba0d92031f2e2d51205a5b /media-libs/alsa-lib | |
parent | net-misc/websocat: add 1.10.0 (diff) | |
download | gentoo-31c929441087eb65c4cdcfc61b29acb3a50cb954.tar.gz gentoo-31c929441087eb65c4cdcfc61b29acb3a50cb954.tar.bz2 gentoo-31c929441087eb65c4cdcfc61b29acb3a50cb954.zip |
media-libs/alsa-lib: filter LTO
It's unsafe to use with alsa-lib (fails to build, can work with a hack, but that hack
implies other issues).
Closes: https://bugs.gentoo.org/616108
Closes: https://bugs.gentoo.org/669086
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/alsa-lib')
-rw-r--r-- | media-libs/alsa-lib/alsa-lib-1.2.7.1.ebuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/media-libs/alsa-lib/alsa-lib-1.2.7.1.ebuild b/media-libs/alsa-lib/alsa-lib-1.2.7.1.ebuild index 94d96f7b806b..2fb3f286446d 100644 --- a/media-libs/alsa-lib/alsa-lib-1.2.7.1.ebuild +++ b/media-libs/alsa-lib/alsa-lib-1.2.7.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{8..11} ) -inherit autotools multilib-minimal python-single-r1 +inherit autotools multilib-minimal flag-o-matic python-single-r1 DESCRIPTION="Advanced Linux Sound Architecture Library" HOMEPAGE="https://alsa-project.org/wiki/Main_Page" @@ -51,6 +51,11 @@ src_prepare() { } multilib_src_configure() { + # Broken upstream. Could in theory work with -flto-partitions=none + # but it's a hack to workaround the real problem and not strictly safe. + # bug #616108, bug #669086, and https://github.com/alsa-project/alsa-lib/issues/6. + filter-flags -flto=* -flto + local myeconfargs=( --disable-maintainer-mode --disable-resmgr |