diff --git a/pacman/.config/pacman/makepkg.conf b/pacman/.config/pacman/makepkg.conf new file mode 100644 index 0000000..646bdb5 --- /dev/null +++ b/pacman/.config/pacman/makepkg.conf @@ -0,0 +1,12 @@ +# march=native and flto added +CFLAGS="-march=native -mtune=generic -O2 -pipe -fstack-protector-strong -flto" +CXXFLAGS="-march=native -mtune=generic -O2 -pipe -fstack-protector-strong -flto" + +# Do a parallel build. +MAKEFLAGS="-j6" + +# Enable optipng compression, for what its worth +OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge optipng !upx !debug) + +# Use parallel compression +COMPRESSXZ=(xz -c -z -T 0 -)