[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#965121: pandoc: FTBFS on armel, armhf, mipsel: out of memory



The patch below is tested on armel and mipsel.

cu
Adrian

--- pandoc-2.9.1.1/debian/rules	2020-07-16 18:12:12.000000000 +0300
+++ pandoc-2.9.1.1/debian/rules	2020-07-16 18:13:21.000000000 +0300
@@ -178,8 +178,8 @@
 DEB_SETUP_GHC_CONFIGURE_ARGS += --ghc-options="+RTS -V0 -RTS"
 
 # Reduce compile-time memory utilization on low-memory architectures
-ifneq (,$(filter $(DEB_BUILD_ARCH),armel armhf mips mipsel))
-DEB_SETUP_GHC_CONFIGURE_ARGS += --ghc-options="-optc--param -optcggc-min-expand=5"
+ifneq (,$(filter $(DEB_HOST_ARCH),armel armhf hppa mips mipsel))
+DEB_SETUP_GHC_CONFIGURE_ARGS += --ghc-options="-optc--param -optcggc-min-expand=10 -O0"
 endif
 
 DEB_ENABLE_TESTS = yes


Reply to: