mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-17 02:39:08 -07:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user