commit: 242fe3a0a96d713c8676a63b7d28b88b87b2ad14
parent 1b98f37caa332e63d8f09effeb21ecb096e3abc1
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Fri, 30 Aug 2024 07:49:12 +0200
profiles/base: set LDLINKFLAGS (used by hare)
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/profiles/base/make.defaults b/profiles/base/make.defaults
@@ -8,7 +8,8 @@ CFLAGS="${COMMON_FLAGS} -Wwrite-strings"
OBJCCFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
OBJCXXFLAGS="${COMMON_FLAGS}"
-LDFLAGS="-Wl,--as-needed -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--defsym=__gentoo_check_ldflags__=0"
+LDFLAGS="-Wl,--as-needed -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0"
+LDLINKFLAGS="--as-needed -z noexecstack -z relro -z now -O1 --defsym=__gentoo_check_ldflags__=0"
CONFIG_PROTECT="${CONFIG_PROTECT} /lib/udev/rules.d/"
INSTALL_MASK="${INSTALL_MASK} /usr/lib/systemd /usr/lib64/systemd /lib/systemd /etc/systemd /etc/sudoers /etc/sudoers.d /usr/share/bash-completion /usr/share/zsh /usr/share/fish /etc/xdg/autostart /usr/share/git-core/templates/hooks /usr/share/man/man1/builtins.1 /usr/share/man/man1/bash_builtins.1 /etc/skel /var/empty /etc/cron*"