From 646dea919bade7900534ed39bb73e90757dd4354 Mon Sep 17 00:00:00 2001 From: Bert Peters Date: Tue, 31 May 2016 09:43:17 +0200 Subject: [PATCH] Add makepkg configuration. --- pacman/.config/pacman/makepkg.conf | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 pacman/.config/pacman/makepkg.conf 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 -)