mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
media-gfx/xv: mark as LTO-unsafe
Closes: https://bugs.gentoo.org/859823 Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
This commit is contained in:
@@ -70,6 +70,11 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# -Werror=lto-type-mismatch
|
||||
# https://bugs.gentoo.org/859823
|
||||
# https://github.com/jasper-software/xv/issues/25
|
||||
filter-lto
|
||||
|
||||
emake \
|
||||
CC="$(tc-getCC)" CCOPTS="${CPPFLAGS} ${CFLAGS}" LDFLAGS="${LDFLAGS}" \
|
||||
PREFIX="${EPREFIX}"/usr \
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake desktop
|
||||
inherit cmake desktop flag-o-matic
|
||||
|
||||
JUMBOV=20070520
|
||||
DESCRIPTION="Interactive image manipulation program supporting a wide variety of formats"
|
||||
@@ -33,6 +33,11 @@ PATCHES=(
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
# -Werror=lto-type-mismatch
|
||||
# https://bugs.gentoo.org/859823
|
||||
# https://github.com/jasper-software/xv/issues/25
|
||||
filter-lto
|
||||
|
||||
local mycmakeargs=(
|
||||
-DCMAKE_INSTALL_SYSCONFDIR="${EPREFIX}/etc"
|
||||
-DXV_ENABLE_JPEG=$(usex jpeg)
|
||||
|
||||
Reference in New Issue
Block a user