1
0

More makepkg.conf optimizations.

This commit is contained in:
cronyakatsuki 2022-11-07 22:01:53 +01:00
parent 4c4747d306
commit 288cd35d15

View File

@ -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"