From 1def2e3dbbf3c86abad238d1118502cfe7f61f08 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 20 Aug 2023 09:41:00 +0100 Subject: gentoo auto-resync : 20:08:2023 - 09:41:00 --- profiles/features/llvm/make.defaults | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'profiles/features') 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" -- cgit v1.2.3