Sam James 1e9b3a08b9 sys-devel/clang-common: add baseline hardening
Add new /etc/clang/gentoo-hardened.cfg which sets hardening
options:
* -fstack-clash-protection
* -fstack-protector-strong
* -fPIE (already set by USE=pie on Clang, but this moves it out, as upstream
  prefer the config method.)
* -D_FORTIFY_SOURCE=2

Further, add USE=hardened, which controls adding -D_LIBCPP_ENABLE_ASSERTIONS=1
(analogue to libstdc++'s -D_GLIBCXX_ASSERTIONS) and -D_FORTIFY_SOURCE=3.

Bug: https://bugs.gentoo.org/851111
Signed-off-by: Sam James <sam@gentoo.org>
2023-01-02 20:34:17 +00:00
2023-01-02 13:11:58 +01:00
2022-12-31 19:07:06 +01:00
2023-01-02 11:54:35 +01:00
2022-12-20 17:30:27 +01:00
2022-11-30 22:32:25 +07:00
2023-01-01 21:07:02 +00:00
2023-01-02 08:00:34 +01:00
2022-12-26 11:17:18 +01:00
2022-12-31 19:30:55 +01:00
2023-01-02 17:37:04 +01:00
2022-12-24 12:34:29 -05:00
2022-12-31 19:30:56 +01:00
2022-12-31 23:23:21 +00:00
2022-12-26 08:32:57 +00:00
2022-12-20 20:23:30 +02:00
2023-01-02 10:26:29 -05:00
2023-01-02 12:24:17 -05:00
2022-12-31 00:38:43 +01:00
2023-01-02 05:31:42 +00:00
2023-01-01 12:01:12 -06:00
2023-01-01 03:11:06 +00:00
2023-01-02 11:54:35 +01:00
2023-01-02 07:52:57 +01:00
2023-01-01 00:04:23 +00:00
2023-01-01 00:04:22 +00:00
S
Description
No description provided
9.8 GiB
Languages
Shell 98%
Roff 1.4%
Emacs Lisp 0.2%
C 0.1%