Change: Optimized Setup > 'Makepkg.conf' drop-in file > Set 'MAKEFLAGS' according to system's cpu cores.

This commit is contained in:
Jane Doe 2024-10-22 21:20:04 +00:00
parent d0639370b1
commit 15140d7a47

View file

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
# Amelia Installer # Amelia Installer
# Version: 8.0.2 # Version: 8.0.3
set -euo pipefail set -euo pipefail
################################################################################################### ###################################################################################################
@ -5914,7 +5914,7 @@ MKINITCPIO
-Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security \ -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security \
-fstack-clash-protection -fcf-protection \ -fstack-clash-protection -fcf-protection \
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer" -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"
MAKEFLAGS="-j4" MAKEFLAGS="-$(nproc)"
BUILDENV=(!distcc color ccache check !sign) BUILDENV=(!distcc color ccache check !sign)
OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !debug lto) OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !debug lto)
COMPRESSGZ=(pigz -c -f -n) COMPRESSGZ=(pigz -c -f -n)