commit:     251d1062dd347520c0bcbf72a9722779b406f106
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 17 21:21:43 2023 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Sep 17 21:40:51 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=251d1062

app-benchmarks/cpuburn: fix dynamic relocations

Closes: https://bugs.gentoo.org/913410
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 .../cpuburn/{cpuburn-1.4a-r4.ebuild => cpuburn-1.4a-r5.ebuild}     | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/app-benchmarks/cpuburn/cpuburn-1.4a-r4.ebuild 
b/app-benchmarks/cpuburn/cpuburn-1.4a-r5.ebuild
similarity index 91%
rename from app-benchmarks/cpuburn/cpuburn-1.4a-r4.ebuild
rename to app-benchmarks/cpuburn/cpuburn-1.4a-r5.ebuild
index 7c532a610978..37e9bf82a74d 100644
--- a/app-benchmarks/cpuburn/cpuburn-1.4a-r4.ebuild
+++ b/app-benchmarks/cpuburn/cpuburn-1.4a-r5.ebuild
@@ -1,10 +1,12 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 MY_PV="${PV/./_}"
 
+inherit flag-o-matic
+
 DESCRIPTION="CPU testing utilities in optimized assembler for maximum loading"
 
HOMEPAGE="https://web.archive.org/web/20110623074500/pages.sbcglobal.net/redelm/";
 SRC_URI="https://dev.gentoo.org/~conikost/files/${PN}_${MY_PV}_tar.gz -> 
${P}.tar.gz"
@@ -39,6 +41,9 @@ src_prepare() {
 }
 
 src_compile() {
+       # See bug 913410 for more information.
+       append-ldflags -z notext
+
        if use arm; then
                cd "${S}"/ARM || die
        fi

Reply via email to