fix build on s390x (unregisterized) with -O0

epel9
Jens Petersen 6 years ago
parent 8605621f17
commit d670108069

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

Loading…
Cancel
Save