From 15140d7a4709adb77403f1f965ee89c9be86dec6 Mon Sep 17 00:00:00 2001 From: Jane Doe Date: Tue, 22 Oct 2024 21:20:04 +0000 Subject: [PATCH] Change: Optimized Setup > 'Makepkg.conf' drop-in file > Set 'MAKEFLAGS' according to system's cpu cores. --- Amelia.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Amelia.sh b/Amelia.sh index 212653e..bca9911 100644 --- a/Amelia.sh +++ b/Amelia.sh @@ -1,7 +1,7 @@ #!/bin/bash # Amelia Installer -# Version: 8.0.2 +# Version: 8.0.3 set -euo pipefail ################################################################################################### @@ -5914,7 +5914,7 @@ MKINITCPIO -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security \ -fstack-clash-protection -fcf-protection \ -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer" - MAKEFLAGS="-j4" + MAKEFLAGS="-$(nproc)" BUILDENV=(!distcc color ccache check !sign) OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !debug lto) COMPRESSGZ=(pigz -c -f -n)