mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-16 14:29:05 -07:00
media-libs/zmusic: mark as LTO-unsafe
It's not actually LTO unsafe. Its bundled adlmidi dependency is. Unfortunately, this package uses bundled dependencies and it's only gotten worse in later upstream releases. Issue still present in upstream git and in the libadlmidi source as well. Not currently up to figuring out how to patch the heck out of this to devendor it, given upstream doesn't provide options for it. Bug: https://github.com/ZDoom/ZMusic/issues/56 Closes: https://bugs.gentoo.org/860117 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake
|
||||
inherit cmake flag-o-matic
|
||||
|
||||
MY_PN="ZMusic"
|
||||
DESCRIPTION="GZDoom's music system as a standalone library"
|
||||
@@ -35,6 +35,11 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# -Werror=odr
|
||||
# https://bugs.gentoo.org/860117
|
||||
# https://github.com/ZDoom/ZMusic/issues/56
|
||||
filter-lto
|
||||
|
||||
local mycmakeargs=(
|
||||
-DFORCE_INTERNAL_ZLIB=OFF
|
||||
-DFORCE_INTERNAL_GME=ON
|
||||
|
||||
Reference in New Issue
Block a user