Building cmake uses a high amount of memory (>2G) and fails to build on my system. Using less processes reduces memory usage and lets the build succeed.
Signed-off-by: Daniel Weismüller daniel.weismueller@ipfire.org --- lfs/cmake | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/lfs/cmake b/lfs/cmake index e3d2119..a9ada50 100644 --- a/lfs/cmake +++ b/lfs/cmake @@ -32,9 +32,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP)
-ifeq "$(MACHINE)" "armv5tel" - MAKETUNING = -j2 -endif +MAKETUNING = -j2
############################################################################### # Top-level Rules