mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 07:33:19 -04:00
app-shells/silver: fix QA not respect LDFLAGS
add `/usr/bin/silver` to QA_FLAGS_IGNORED filter '-flto*' instead of strip-flags Closes: https://bugs.gentoo.org/814065 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Leonardo Hernandez Hernandez <leohdz172@outlook.com>
This commit is contained in:
@@ -132,14 +132,16 @@ DEPEND="
|
||||
|
||||
DOCS="readme.md"
|
||||
|
||||
QA_FLAGS_IGNORED="/usr/bin/silver"
|
||||
|
||||
PATCHES=( "$FILESDIR/add-gentoo-support.patch" )
|
||||
|
||||
src_configure() {
|
||||
export LIBGIT2_SYS_USE_PKG_CONFIG=1
|
||||
export PKG_CONFIG_ALLOW_CROSS=1
|
||||
|
||||
# Some obscure LDFLAGS cause error during linking
|
||||
strip-flags
|
||||
# Breaks compilation
|
||||
filter-flags '-flto*'
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
Reference in New Issue
Block a user