fix build on s390x (unregisterized) with -O0

This commit is contained in:
Jens Petersen 2019-03-02 22:20:59 +08:00
parent 8605621f17
commit d670108069

View File

@ -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