Commit 9b112765 authored by John Paul Adrian Glaubitz's avatar John Paul Adrian Glaubitz Committed by Gianfranco Costamagna
Browse files

ghc: add workaround to avoid memory exaustion on alpha too

parent 28cf3e95
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
ghc (8.8.1+dfsg1+is+8.6.5+dfsg1-2) unstable; urgency=medium

  [ John Paul Adrian Glaubitz ]
  * Enable workaround to avoid memory exhaustation on alpha
  [ Gianfranco Costamagna ]
  * Source-only reupload now that the bootstrap has ended

 -- Gianfranco Costamagna <locutusofborg@debian.org>  Sat, 21 Sep 2019 12:06:31 +0200
+1 −1
Original line number Diff line number Diff line
@@ -118,7 +118,7 @@ ifneq (,$(filter noopt, $(DEB_BUILD_OPTIONS)))
	# echo "GhcLibHcOpts  += -O0" >> mk/build.mk
	echo "GhcRtsCcOpts  += -O0" >> mk/build.mk
endif
ifneq (,$(filter m68k mipsel hppa sh4 x32, $(DEB_HOST_ARCH)))
ifneq (,$(filter alpha m68k mipsel hppa sh4 x32, $(DEB_HOST_ARCH)))
	# Virtual memory exhausted when trying to build unregisterised compiler on
	# 32-bit targets. Disable optimizations for compiler/hsSyn/HsInstances.hs.
	# See https://bugs.debian.org/933968