mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-31 09:08:08 -07:00
media-sound/csound: mark as LTO-unsafe
Closes: https://bugs.gentoo.org/860492 Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
This commit is contained in:
@@ -10,7 +10,7 @@ EAPI=8
|
||||
LUA_COMPAT=( lua5-1 luajit )
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit cmake lua-single python-single-r1
|
||||
inherit cmake flag-o-matic lua-single python-single-r1
|
||||
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
EGIT_REPO_URI="https://github.com/csound/csound.git"
|
||||
@@ -117,6 +117,11 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# -Werror=odr, -Werror=lto-type-mismatch
|
||||
# https://bugs.gentoo.org/860492
|
||||
# https://github.com/csound/csound/issues/1919
|
||||
filter-lto
|
||||
|
||||
local mycmakeargs=(
|
||||
-DBUILD_BELA=OFF
|
||||
-DBUILD_CSBEATS=$(usex beats)
|
||||
|
||||
@@ -10,7 +10,7 @@ EAPI=8
|
||||
LUA_COMPAT=( lua5-1 luajit )
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit cmake lua-single python-single-r1
|
||||
inherit cmake flag-o-matic lua-single python-single-r1
|
||||
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
EGIT_REPO_URI="https://github.com/csound/csound.git"
|
||||
@@ -117,6 +117,11 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# -Werror=odr, -Werror=lto-type-mismatch
|
||||
# https://bugs.gentoo.org/860492
|
||||
# https://github.com/csound/csound/issues/1919
|
||||
filter-lto
|
||||
|
||||
local mycmakeargs=(
|
||||
-DBUILD_BELA=OFF
|
||||
-DBUILD_CSBEATS=$(usex beats)
|
||||
|
||||
Reference in New Issue
Block a user