try to reduce compile-time memory utilization on armv7hl
This commit is contained in:
parent
4c8e791c5a
commit
c7e112910c
@ -227,6 +227,12 @@ This package provides the Haskell %{name} profiling library.
|
||||
%build
|
||||
# Begin cabal-rpm build:
|
||||
%ghc_libs_build %{subpkgs}
|
||||
%ifarch armv7hl
|
||||
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=965121
|
||||
# [101 of 166] Compiling Text.Pandoc.Writers.LaTeX
|
||||
# ghc: out of memory (requested 1048576 bytes)
|
||||
%define cabal_configure_options --ghc-options="-optc--param -optcggc-min-expand=5"
|
||||
%endif
|
||||
%ghc_lib_build
|
||||
# End cabal-rpm build
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user