fix build on s390x (unregisterized) with -O0
This commit is contained in:
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…
Reference in New Issue
Block a user