mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
app-benchmarks/geekbench-ml: remove insecure RUNPATHs
Closes: https://bugs.gentoo.org/920361 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -14,12 +14,21 @@ SLOT="6"
|
||||
|
||||
RESTRICT="bindist mirror"
|
||||
|
||||
BDEPEND="dev-util/patchelf"
|
||||
|
||||
QA_PREBUILT="
|
||||
opt/geekbench-ml/banff_avx2
|
||||
opt/geekbench-ml/banff_x86_64
|
||||
opt/geekbench-ml/banff
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Fix QA insecure RUNPATHs
|
||||
patchelf --remove-rpath banff{,_avx2,_x86_64} || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto /opt/geekbench-ml
|
||||
doexe banff{,_avx2,_x86_64}
|
||||
Reference in New Issue
Block a user