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