From 7b4178eca63b83d35360809ee73fd6030c7d552d Mon Sep 17 00:00:00 2001 From: Fabio Alessandro Locati Date: Sat, 17 Jun 2023 10:55:01 +0200 Subject: [PATCH] Disable darn code --- stress-ng.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stress-ng.spec b/stress-ng.spec index d7b29ea..f10ed22 100644 --- a/stress-ng.spec +++ b/stress-ng.spec @@ -31,6 +31,8 @@ system kernel interfaces. %prep %autosetup -n %{name}-%{version} +# darn is not supported in Power ISA < 3.0, while Fedora aims for Power ISA 2.07 +sed 's/ASM_SPARC_RDPR ASM_SPARC_TICK ASM_PPC64_DARN ASM_PPC64_DCBST/ASM_SPARC_RDPR ASM_SPARC_TICK ASM_PPC64_DCBST/' Makefile.config %build %make_build