summaryrefslogtreecommitdiff
path: root/core/pacman/makepkg.conf
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-03-25 16:24:33 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2022-03-25 16:24:33 +0100
commit9fbc33d66b2091b112e634730c43ca60ad4e9333 (patch)
treeff8fcd4cfc09e2b03724ae0f218cca3da62bcab4 /core/pacman/makepkg.conf
parent37887ecb5fe9bff1f20516f16f3bc16d47343816 (diff)
downloadpackages-9fbc33d66b2091b112e634730c43ca60ad4e9333.tar.xz
core/pacman: adapted to upstream changes (LTOFLAGS, makepkg.conf, etc.)
Diffstat (limited to 'core/pacman/makepkg.conf')
-rw-r--r--core/pacman/makepkg.conf5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/pacman/makepkg.conf b/core/pacman/makepkg.conf
index 98bca384..12bd0a97 100644
--- a/core/pacman/makepkg.conf
+++ b/core/pacman/makepkg.conf
@@ -43,12 +43,13 @@ CFLAGS="-march=i686 -mtune=generic -O2 -pipe -fno-plt -fexceptions \
-fstack-clash-protection -fcf-protection"
CXXFLAGS="$CFLAGS -Wp,-D_GLIBCXX_ASSERTIONS"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now"
+LTOFLAGS="-flto=auto"
#RUSTFLAGS="-C opt-level=2"
#-- Make Flags: change this for DistCC/SMP systems
#MAKEFLAGS="-j2"
#-- Debugging flags
-DEBUG_CFLAGS="-g -fvar-tracking-assignments"
-DEBUG_CXXFLAGS="-g -fvar-tracking-assignments"
+DEBUG_CFLAGS="-g"
+DEBUG_CXXFLAGS="$DEBUG_CFLAGS"
#DEBUG_RUSTFLAGS="-C debuginfo=2"
#########################################################################