Update file post-install.sh
This commit is contained in:
parent
180d586dfd
commit
b8c6902926
|
@ -16,6 +16,15 @@ git clone https://gitlab.com/dataprolet/arch
|
||||||
# Enable multilib repo
|
# Enable multilib repo
|
||||||
sudo sed -i "/\[multilib\]/,/Include/"'s/^#//' /etc/pacman.conf
|
sudo sed -i "/\[multilib\]/,/Include/"'s/^#//' /etc/pacman.conf
|
||||||
|
|
||||||
|
# Enabling AHLP.GO repo
|
||||||
|
|
||||||
|
# Configure compiler
|
||||||
|
sudo sed -E -i 's/-march=(\S*)/-march=native/' /etc/makepkg.conf
|
||||||
|
sudo sed -E -i 's/-mtune==(\S*)/-mtune=native/' /etc/makepkg.conf
|
||||||
|
sudo sed -E -i 's/-O2/-O3/' /etc/makepkg.conf
|
||||||
|
sudo sed -E -i 's/#RUSTFLAGS=(.*)$/RUSTFLAGS="-C opt-level=2 -C target-cpu=native"/' /etc/makepkg.conf
|
||||||
|
sudo sed -E -i 's/#MAKEFLAGS=(.*)$/MAKEFLAGS="-j$(nproc)"/' /etc/makepkg.conf
|
||||||
|
|
||||||
# Stupid workaround for package conflict
|
# Stupid workaround for package conflict
|
||||||
yes | yay -S pipewire-jack
|
yes | yay -S pipewire-jack
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue