mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
media-libs/lsp-plugins: backport LTO filtering
Bug: https://bugs.gentoo.org/875833 Closes: https://bugs.gentoo.org/874339 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -59,6 +59,17 @@ PATCHES=(
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
# -Werror=odr
|
||||
# https://bugs.gentoo.org/875833
|
||||
#
|
||||
# Actually the whole thing is kind of a waste of time. It looks like
|
||||
# programs use LDFLAGS, but libraries do not! So some things don't
|
||||
# build with LTO, while other things don't build when LTO is enabled.
|
||||
# Attempting to build with LTO is just a waste of time and cycles.
|
||||
#
|
||||
# This was reported upstream but the ticket closed. Abandon hope.
|
||||
filter-lto
|
||||
|
||||
use doc && MODULES+="doc"
|
||||
use jack && MODULES+=" jack"
|
||||
use ladspa && MODULES+=" ladspa"
|
||||
|
||||
@@ -55,6 +55,17 @@ DEPEND="
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
# -Werror=odr
|
||||
# https://bugs.gentoo.org/875833
|
||||
#
|
||||
# Actually the whole thing is kind of a waste of time. It looks like
|
||||
# programs use LDFLAGS, but libraries do not! So some things don't
|
||||
# build with LTO, while other things don't build when LTO is enabled.
|
||||
# Attempting to build with LTO is just a waste of time and cycles.
|
||||
#
|
||||
# This was reported upstream but the ticket closed. Abandon hope.
|
||||
filter-lto
|
||||
|
||||
use doc && MODULES+="doc"
|
||||
use jack && MODULES+=" jack"
|
||||
use ladspa && MODULES+=" ladspa"
|
||||
|
||||
@@ -55,6 +55,17 @@ DEPEND="
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
# -Werror=odr
|
||||
# https://bugs.gentoo.org/875833
|
||||
#
|
||||
# Actually the whole thing is kind of a waste of time. It looks like
|
||||
# programs use LDFLAGS, but libraries do not! So some things don't
|
||||
# build with LTO, while other things don't build when LTO is enabled.
|
||||
# Attempting to build with LTO is just a waste of time and cycles.
|
||||
#
|
||||
# This was reported upstream but the ticket closed. Abandon hope.
|
||||
filter-lto
|
||||
|
||||
use doc && MODULES+="doc"
|
||||
use jack && MODULES+=" jack"
|
||||
use ladspa && MODULES+=" ladspa"
|
||||
|
||||
Reference in New Issue
Block a user