diff options
authorGard Spreemann <>2020-11-01 14:17:19 +0100
committerGard Spreemann <>2020-11-01 14:17:19 +0100
commit8800dcf8a75f9bd9a531c6747f608e88fe38dd09 (patch)
parent99cc26ac3540e59d193325db9d17b0886e78e844 (diff)
ggc-min-expand=5 also on arm
This a patch from Ubuntu to avoid their buildds running out of memory on armhf and arm64.
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index f3ee24bb..30112530 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,7 +22,7 @@ endif
# The buildds run out of memory on some architectures. On those, we
# force non-parallel building.
-ifneq (, $(filter $(shell dpkg-architecture --query DEB_BUILD_ARCH),i386 mips mipsel m68k powerpcspe x32))
+ifneq (, $(filter $(shell dpkg-architecture --query DEB_BUILD_ARCH),armhf arm64 i386 mips mipsel m68k powerpcspe x32))
export DEB_CXXFLAGS_MAINT_APPEND = --param ggc-min-expand=5
# We have disabled parallel builds in general now. Consider disabling
# for certain architectures if it's reenabled globally.