-O0 for unregisterized ghc bug

https://ghc.haskell.org/trac/ghc/ticket/15853
This commit is contained in:
Jens Petersen 2019-03-04 13:46:32 +08:00
parent cd76d9d8e6
commit df84748ec5
1 changed files with 4 additions and 0 deletions

View File

@ -115,6 +115,10 @@ This package provides the Haskell %{name} library development files.
%build
# https://ghc.haskell.org/trac/ghc/ticket/15853
%ifarch s390x
cabal_configure_extra_options="--ghc-option=-O0"
%endif
# Begin cabal-rpm build:
%ghc_libs_build %{subpkgs}
%ghc_lib_build