media-video/webcamoid: mark as LTO-unsafe

Closes: https://bugs.gentoo.org/927104
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
This commit is contained in:
Eli Schwartz
2024-07-07 20:05:50 -04:00
parent d2e77ee9ce
commit 7b8296a785
2 changed files with 13 additions and 3 deletions

View File

@@ -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=8
inherit cmake xdg
inherit cmake flag-o-matic xdg
DESCRIPTION="Full featured webcam capture application"
HOMEPAGE="https://webcamoid.github.io"
@@ -52,6 +52,11 @@ RDEPEND="${COMMON_DEPEND}
"
src_configure() {
# -Werror=odr
# https://bugs.gentoo.org/927104
# https://github.com/webcamoid/webcamoid/issues/702
filter-lto
#Disable git in package source. If not disabled the cmake configure process will show
#a lot of "fatal not a git repository" errors
sed -i 's|find_program(GIT_BIN git)|#find_program(GIT_BIN git)|' libAvKys/cmake/ProjectCommons.cmake || die

View File

@@ -3,7 +3,7 @@
EAPI=8
inherit cmake xdg
inherit cmake flag-o-matic xdg
DESCRIPTION="Full featured webcam capture application"
HOMEPAGE="https://webcamoid.github.io"
@@ -45,6 +45,11 @@ RDEPEND="${COMMON_DEPEND}
"
src_configure() {
# -Werror=odr
# https://bugs.gentoo.org/927104
# https://github.com/webcamoid/webcamoid/issues/702
filter-lto
#Disable git in package source. If not disabled the cmake configure process will show
#a lot of "fatal not a git repository" errors
sed -i 's|find_program(GIT_BIN git)|#find_program(GIT_BIN git)|' libAvKys/cmake/ProjectCommons.cmake || die