From 0249d6f83e9b2d1c4993d1ec74e1350334353c7f Mon Sep 17 00:00:00 2001 From: Evgeniy Alekseev Date: Sun, 20 Mar 2022 03:25:22 +0300 Subject: [PATCH] update makepkg --- makepkg.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/makepkg.conf b/makepkg.conf index 0d25531..c3826d1 100644 --- a/makepkg.conf +++ b/makepkg.conf @@ -43,12 +43,13 @@ CFLAGS="-march=x86-64 -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" #########################################################################