diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-08-20 09:41:00 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-08-20 09:41:00 +0100 |
commit | 1def2e3dbbf3c86abad238d1118502cfe7f61f08 (patch) | |
tree | f68c70d85f32fd90003e7af6f1aab202b0868e9e /profiles/features | |
parent | a40d7aa891556e7984504838ea13099a5ca12802 (diff) |
gentoo auto-resync : 20:08:2023 - 09:41:00
Diffstat (limited to 'profiles/features')
-rw-r--r-- | profiles/features/llvm/make.defaults | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/profiles/features/llvm/make.defaults b/profiles/features/llvm/make.defaults index 54254b71b575..a677172b269d 100644 --- a/profiles/features/llvm/make.defaults +++ b/profiles/features/llvm/make.defaults @@ -13,20 +13,6 @@ LD="ld.lld" # linker flags LDFLAGS="${LDFLAGS} -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,--as-needed" -## hardening flags -#SOME_HARDENING_CFLAGS="-fPIC -fstack-protector-strong -D_FORTIFY_SOURCE=2" -#SOME_HARDENING_LDFLAGS="-Wl,-z,relro,-z,now -pie" -# -# we need to eventually do this the same way as in gcc, for now let's -# keep it to a minimum -SOME_HARDENING_CFLAGS="-D_FORTIFY_SOURCE=2" -SOME_HARDENING_LDFLAGS="" - -# enable hardening by default, cf. gcc[pie,ssp] -CFLAGS="${CFLAGS} ${SOME_HARDENING_FLAGS}" -CXXFLAGS="${CXXFLAGS} ${SOME_HARDENING_FLAGS}" -LDFLAGS="${LDFLAGS} ${SOME_HARDENING_LDFLAGS}" - # use LLVM-provided binutils AR="llvm-ar" AS="clang -c" |