From 74a868708c150120092adf8d260f508c2d4d8df3 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 17 Feb 2023 09:52:38 +0800 Subject: [PATCH] testsuite: ppc64le RTS does not have -rtsopts=-N --- ghc-formatting.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ghc-formatting.spec b/ghc-formatting.spec index 45e33bd..e3555e4 100644 --- a/ghc-formatting.spec +++ b/ghc-formatting.spec @@ -98,6 +98,10 @@ This package provides the Haskell %{pkg_name} profiling library. dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal # End cabal-rpm setup +%ifarch ppc64le +sed -e "s/ -rtsopts -with-rtsopts=-N//" %{pkg_name}.cabal +%endif + %build # Begin cabal-rpm build: