From f05e3178430891c3e5f13af2a705a114196b2834 Mon Sep 17 00:00:00 2001 From: Randall Winkhart Date: Sun, 26 Jun 2022 02:22:18 -0400 Subject: [PATCH] Re-implemented custom makepkg.conf --- chrootInstall.sh | 2 +- config-files/makepkg.conf | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/chrootInstall.sh b/chrootInstall.sh index d0cd247..5e2a5fa 100755 --- a/chrootInstall.sh +++ b/chrootInstall.sh @@ -53,7 +53,7 @@ echo "permit persist keepenv $username as root" > /etc/doas.conf ln -s /usr/bin/doas /usr/bin/sudo # misc. configuration -#curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/config-files/makepkg.conf -o /etc/makepkg.conf +curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/config-files/makepkg.conf -o /etc/makepkg.conf curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/config-files/bashrc -o /home/"$username"/.bashrc chown "$username":"$users" /home/"$username"/.bashrc diff --git a/config-files/makepkg.conf b/config-files/makepkg.conf index 77af408..617badd 100755 --- a/config-files/makepkg.conf +++ b/config-files/makepkg.conf @@ -1,6 +1,6 @@ #!/hint/bash # -# /etc/makepkg.conf - Universal-ish Arch Installer 12/14/2021 +# /etc/makepkg.conf - rwinkhart/artix-install-script 06/26/2022 # ######################################################################### @@ -38,7 +38,7 @@ CHOST="x86_64-pc-linux-gnu" #-- Compiler and Linker Flags #CPPFLAGS="" -CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions \ +CFLAGS="-march=native -mtune=native -O2 -pipe -fno-plt -fexceptions \ -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security \ -fstack-clash-protection -fcf-protection" CXXFLAGS="$CFLAGS -Wp,-D_GLIBCXX_ASSERTIONS" @@ -133,8 +133,8 @@ DBGSRCDIR="/usr/src/debug" # COMPRESSION DEFAULTS ######################################################################### # -COMPRESSGZ=(pigz -c -f -n) -COMPRESSBZ2=(pbzip2 -c -f) +COMPRESSGZ=(gzip -c -f -n) +COMPRESSBZ2=(bzip2 -c -f) COMPRESSXZ=(xz -c -z --threads=0 -) COMPRESSZST=(zstd -c -z -q --threads=0 -) COMPRESSLRZ=(lrzip -q)