]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
mysql: Force to build with -j1 on ARM.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 4 Sep 2011 10:54:35 +0000 (10:54 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 4 Sep 2011 10:54:35 +0000 (10:54 +0000)
The C++ compilers consume a high amount of memory and our
ARM machine has got only 512 Megs of that.

lfs/mysql

index 410dad6c45e1cf5b491b98462605fa7ec3da595b..b505fc8c1a83fcffd64642ea47ba38713ff6991b 100644 (file)
--- a/lfs/mysql
+++ b/lfs/mysql
@@ -34,6 +34,10 @@ TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = mysql
 PAK_VER    = 1
 
+ifeq "$(MACHINE)" "arm"
+       MAKETUNING = -j1
+endif
+
 ###############################################################################
 # Top-level Rules
 ###############################################################################