From c08dddcbbe704c6a23ff23b7d34bb2411630a835 Mon Sep 17 00:00:00 2001 From: nyyu Date: Sat, 9 Sep 2023 13:47:02 +0200 Subject: [PATCH] conf: add -z,pack-relative-relocs --- conf/makepkg.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/makepkg.conf b/conf/makepkg.conf index 179f6d4..3324cec 100644 --- a/conf/makepkg.conf +++ b/conf/makepkg.conf @@ -44,7 +44,7 @@ CFLAGS="-march=x86-64-v2 -mtune=generic -O2 -pipe -fno-plt -fexceptions \ -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security \ -fstack-clash-protection -fcf-protection" CXXFLAGS="$CFLAGS -Wp,-D_GLIBCXX_ASSERTIONS" -LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now" +LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now,-z,pack-relative-relocs" LTOFLAGS="-flto=auto" #RUSTFLAGS="-C opt-level=2" #-- Make Flags: change this for DistCC/SMP systems