summaryrefslogtreecommitdiff
path: root/sys-devel/clang-common/clang-common-18.0.0.9999.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-08-29 22:06:33 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-08-29 22:06:33 +0100
commitb6fd18fb87dd442e905a3e0f1ece183d91b05002 (patch)
treefe8c63a24e8228c3b89466e192e91387547c3f8e /sys-devel/clang-common/clang-common-18.0.0.9999.ebuild
parent55b8da184993b6b27e0426838d77dcbc741e12cd (diff)
gentoo auto-resync : 29:08:2023 - 22:06:32
Diffstat (limited to 'sys-devel/clang-common/clang-common-18.0.0.9999.ebuild')
-rw-r--r--sys-devel/clang-common/clang-common-18.0.0.9999.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys-devel/clang-common/clang-common-18.0.0.9999.ebuild b/sys-devel/clang-common/clang-common-18.0.0.9999.ebuild
index abf3150abbd6..8bca701cfc0b 100644
--- a/sys-devel/clang-common/clang-common-18.0.0.9999.ebuild
+++ b/sys-devel/clang-common/clang-common-18.0.0.9999.ebuild
@@ -99,6 +99,8 @@ src_install() {
-fstack-protector-strong
-fPIE
-include "${EPREFIX}/usr/include/gentoo/fortify.h"
+
+ -Wl,-z,relro
EOF
dodir /usr/include/gentoo
@@ -144,6 +146,8 @@ src_install() {
# https://libcxx.llvm.org/UsingLibcxx.html#assertions-mode
# https://libcxx.llvm.org/Hardening.html#using-hardened-mode
-D_LIBCPP_ENABLE_HARDENED_MODE=1
+
+ -Wl,-z,now
EOF
fi