Update makepkg.conf

This commit is contained in:
Oskar 2021-11-22 19:27:14 +01:00 committed by GitHub
parent a24f44af99
commit 1e136114a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 2 deletions

View File

@ -36,6 +36,12 @@ VCSCLIENTS=('bzr::bzr'
CARCH="x86_64"
CHOST="x86_64-pc-linux-gnu"
# Compiler
CC=clang
CXX=clang++
LD=lld
AR=llvm-ar
#-- Compiler and Linker Flags
#CPPFLAGS=""
CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions \
@ -47,8 +53,8 @@ LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now"
#-- Make Flags: change this for DistCC/SMP systems
MAKEFLAGS="-j4"
#-- Debugging flags
DEBUG_CFLAGS="-g -fvar-tracking-assignments"
DEBUG_CXXFLAGS="-g -fvar-tracking-assignments"
DEBUG_CFLAGS="-g"
DEBUG_CXXFLAGS="-g"
#DEBUG_RUSTFLAGS="-C debuginfo=2"
#########################################################################