diff --git a/ghc-JuicyPixels.spec b/ghc-JuicyPixels.spec index f39b138..d52e202 100644 --- a/ghc-JuicyPixels.spec +++ b/ghc-JuicyPixels.spec @@ -57,6 +57,10 @@ sed -i 's/\r$//' LICENSE %build +# https://ghc.haskell.org/trac/ghc/ticket/16379 +%ifarch s390x +cabal_configure_extra_options='--ghc-option="-O0"' +%endif # Begin cabal-rpm build: %ghc_lib_build # End cabal-rpm build