From 9352ffefd1538ecf9a9c3637fe913130e9591cf7 Mon Sep 17 00:00:00 2001 From: Manuel Date: Tue, 7 May 2024 20:48:28 +0200 Subject: [PATCH] Update makepkg.conf * Include latest ALHP changes * Enable compression for archives again --- makepkg.conf | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/makepkg.conf b/makepkg.conf index 6d15ed4..703c3ad 100644 --- a/makepkg.conf +++ b/makepkg.conf @@ -40,9 +40,10 @@ CHOST="x86_64-pc-linux-gnu" #-- Compiler and Linker Flags #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" -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" 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 ######################################################################### # -PKGEXT='.pkg.tar' -SRCEXT='.src.tar' +PKGEXT='.pkg.tar.zst' +SRCEXT='.src.tar.gz' ######################################################################### # OTHER @@ -163,8 +164,8 @@ SRCEXT='.src.tar' # vim: set ft=sh ts=2 sw=2 et: export KCPPFLAGS=" -march=x86-64-v3 -O3" -export FCFLAGS=$CFLAGS -export KCFLAGS=" -march=x86-64-v3 -O3" export FFLAGS=$CFLAGS +export KCFLAGS=" -march=x86-64-v3 -O3" +export FCFLAGS=$CFLAGS export GOAMD64=v3 export CARGO_PROFILE_RELEASE_LTO=fat