From 288cd35d1519edf0086e8d297dda0a0fb3fa1908 Mon Sep 17 00:00:00 2001 From: cronyakatsuki <64900606+cronyakatsuki@users.noreply.github.com> Date: Mon, 7 Nov 2022 22:01:53 +0100 Subject: [PATCH] More makepkg.conf optimizations. --- arch_install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch_install.sh b/arch_install.sh index 93fcd2d..81dcca4 100755 --- a/arch_install.sh +++ b/arch_install.sh @@ -315,7 +315,8 @@ systemctl enable acpid.service read -n 1 -s -p "To continue press any key" printf '%s\n' "Setting up makepkg.conf" -sed -i 's/-march=native/-march=x86-64 -mtune=generic/' /etc/makepkg.conf +sed -i 's/-march=x86-64 -mtune=generic/-march=native/' /etc/makepkg.conf +sed -i 's/#MAKEFLAGS="-j2"/MAKEFLAGS="-j$(nproc)"/' /etc/makepkg.conf sed -i 's/!ccache/ccache/g' /etc/makepkg.conf printf '%s\n' "Set root password"