From 065c00ad8fedc66c16579c24906f28fb0473661c Mon Sep 17 00:00:00 2001 From: Evangelos Foutras Date: Mon, 31 Jan 2022 16:34:07 +0200 Subject: makepkg.conf: drop -fvar-tracking-assignments flag According to gcc(1), this flag (like -fvar-tracking) is enabled by default when compiling with optimization and debugging information. As an additional benefit, packages building with the clang compiler will work with the default flags without having to remove this flag due to not being recognized by clang. --- makepkg-x86_64.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/makepkg-x86_64.conf b/makepkg-x86_64.conf index 9d1b2f2..19d16f7 100644 --- a/makepkg-x86_64.conf +++ b/makepkg-x86_64.conf @@ -49,8 +49,8 @@ LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now" #-- 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" ######################################################################### -- cgit v1.2.3-54-g00ecf