diff options
author | Evangelos Foutras <evangelos@foutrelis.com> | 2022-01-31 16:34:07 +0200 |
---|---|---|
committer | Evangelos Foutras <evangelos@foutrelis.com> | 2022-01-31 16:34:07 +0200 |
commit | 065c00ad8fedc66c16579c24906f28fb0473661c (patch) | |
tree | 1a6c78b2fbb475a313eefa995d2de3c3f1ff297e | |
parent | ea162ef0416d491053b06422189e2c50ecc85e90 (diff) | |
download | devtools-065c00ad8fedc66c16579c24906f28fb0473661c.tar.xz |
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.
-rw-r--r-- | makepkg-x86_64.conf | 4 |
1 files 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" ######################################################################### |