]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/hyperscan
linux-pam: Update to 1.3.1
[ipfire-2.x.git] / lfs / hyperscan
index f390c827e2f5f6fba48fa56af8727d13a8a66795..79547b3bca9dfe2d0912bae795925439ea138ede 100644 (file)
@@ -33,6 +33,11 @@ DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 SUP_ARCH   = x86_64 i586
 
+# The compiler uses a lot of memory to compile hyperscan, hence we reduce
+# the total number of processes a little bit to be able to build on
+# smaller machines
+MAX_PARALLELISM = $(shell echo $$(( $(SYSTEM_MEMORY) / 512)))
+
 ###############################################################################
 # Top-level Rules
 ###############################################################################