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:
Leonardo Hernandez Hernandez
2021-09-20 16:28:18 -05:00
parent e9a1e263a2
commit 6d34c32b23

View File

@@ -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() {