fix random build failures during e2fsprogs, force -j1
authorFabio Erculiani <lxnay@sabayon.org>
Tue, 25 Oct 2011 09:45:41 +0000 (11:45 +0200)
committerFabio Erculiani <lxnay@sabayon.org>
Tue, 25 Oct 2011 09:45:41 +0000 (11:45 +0200)
ChangeLog
gen_compile.sh

index 78a722f100b2dd89235b61d33f4f1c875b4f8995..911540350f5dac73a9f768890cecbd62686518e2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,9 @@
 # Distributed under the GPL v2
 # $Id$
 
+  25 Oct 2011; Fabio Erculiani <lxnay@gentoo.org> gen_compile.sh:
+  fix random build failures during e2fsprogs, force -j1
+
   08 Oct 2011; Fabio Erculiani <lxnay@gentoo.org> defaults/initrd.defaults,
   defaults/initrd.scripts, defaults/linuxrc:
   Do not hardcode /mnt/cdrom path across the whole code, use CDROOT_PATH
index fce075015d5496923a8ef4e70e7725459b0f9c4a..4f4ed25504aa43d476869e23ba7c7e3bb1306c07 100755 (executable)
@@ -600,7 +600,7 @@ compile_e2fsprogs() {
                LDFLAGS=-static ./configure >> ${LOGFILE} 2>&1 ||
                        gen_die 'Configuring e2fsprogs failed!'
                print_info 1 'e2fsprogs: >> Compiling...'
-               MAKE=${UTILS_MAKE} compile_generic "" ""
+               MAKE=${UTILS_MAKE} MAKEOPTS="${MAKEOPTS} -j1" compile_generic "" ""
                print_info 1 'blkid: >> Copying to cache...'
                [ -f "${TEMP}/${E2FSPROGS_DIR}/misc/blkid" ] ||
                        gen_die 'Blkid executable does not exist!'