diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2024-01-02 20:16:41 +0100 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2024-01-02 20:16:41 +0100 |
commit | e2dabd04cd30dcd96d92ee80cf5cba26ae8ecc72 (patch) | |
tree | 5e52a17c8af97f86eb9817aa3853a605abeb3aa1 /app-benchmarks | |
parent | app-benchmarks/stress-ng: don't automatic jpeg (diff) | |
download | gentoo-e2dabd04cd30dcd96d92ee80cf5cba26ae8ecc72.tar.gz gentoo-e2dabd04cd30dcd96d92ee80cf5cba26ae8ecc72.tar.bz2 gentoo-e2dabd04cd30dcd96d92ee80cf5cba26ae8ecc72.zip |
app-benchmarks/geekbench-ml: remove insecure RUNPATHs
Closes: https://bugs.gentoo.org/920361
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'app-benchmarks')
-rw-r--r-- | app-benchmarks/geekbench-ml/geekbench-ml-0.6.0-r1.ebuild (renamed from app-benchmarks/geekbench-ml/geekbench-ml-0.6.0.ebuild) | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/app-benchmarks/geekbench-ml/geekbench-ml-0.6.0.ebuild b/app-benchmarks/geekbench-ml/geekbench-ml-0.6.0-r1.ebuild index f5cf63b3ca7d..db472985aa6c 100644 --- a/app-benchmarks/geekbench-ml/geekbench-ml-0.6.0.ebuild +++ b/app-benchmarks/geekbench-ml/geekbench-ml-0.6.0-r1.ebuild @@ -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} |