Update makepkg.conf

* Include latest ALHP changes
* Enable compression for archives again
This commit is contained in:
Manuel 2024-05-07 20:48:28 +02:00
parent 2691361ed7
commit 9352ffefd1
Signed by: Manuel
GPG key ID: 4085037435E1F07A

View file

@ -40,9 +40,10 @@ CHOST="x86_64-pc-linux-gnu"
#-- Compiler and Linker Flags #-- Compiler and Linker Flags
#CPPFLAGS="" #CPPFLAGS=""
CFLAGS="-march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -mpclmul" CFLAGS="-march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul"
CXXFLAGS="$CFLAGS -Wp,-D_GLIBCXX_ASSERTIONS" CXXFLAGS="$CFLAGS -Wp,-D_GLIBCXX_ASSERTIONS"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now,-z,pack-relative-relocs" LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now \
-Wl,-z,pack-relative-relocs"
LTOFLAGS="-flto=auto -falign-functions=32" LTOFLAGS="-flto=auto -falign-functions=32"
RUSTFLAGS="-Copt-level=3 -Ctarget-cpu=x86-64-v3 -Clink-arg=-z -Clink-arg=pack-relative-relocs -Ccodegen-units=1" RUSTFLAGS="-Copt-level=3 -Ctarget-cpu=x86-64-v3 -Clink-arg=-z -Clink-arg=pack-relative-relocs -Ccodegen-units=1"
@ -151,8 +152,8 @@ COMPRESSLZ=(lzip -c -f)
# EXTENSION DEFAULTS # EXTENSION DEFAULTS
######################################################################### #########################################################################
# #
PKGEXT='.pkg.tar' PKGEXT='.pkg.tar.zst'
SRCEXT='.src.tar' SRCEXT='.src.tar.gz'
######################################################################### #########################################################################
# OTHER # OTHER
@ -163,8 +164,8 @@ SRCEXT='.src.tar'
# vim: set ft=sh ts=2 sw=2 et: # vim: set ft=sh ts=2 sw=2 et:
export KCPPFLAGS=" -march=x86-64-v3 -O3" export KCPPFLAGS=" -march=x86-64-v3 -O3"
export FCFLAGS=$CFLAGS
export KCFLAGS=" -march=x86-64-v3 -O3"
export FFLAGS=$CFLAGS export FFLAGS=$CFLAGS
export KCFLAGS=" -march=x86-64-v3 -O3"
export FCFLAGS=$CFLAGS
export GOAMD64=v3 export GOAMD64=v3
export CARGO_PROFILE_RELEASE_LTO=fat export CARGO_PROFILE_RELEASE_LTO=fat