From 9c86b913d499e933b8f456cab99e36c81e061850 Mon Sep 17 00:00:00 2001 From: inference Date: Thu, 29 Dec 2022 10:34:00 +0000 Subject: [PATCH] Update copyright year range in preparation for 2023. Switch to SPDX license formatting. Improve comments. --- portage/env/nolto-nopie.conf | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/portage/env/nolto-nopie.conf b/portage/env/nolto-nopie.conf index b6f70f2..7e6bece 100644 --- a/portage/env/nolto-nopie.conf +++ b/portage/env/nolto-nopie.conf @@ -1,20 +1,18 @@ # Portage - env - Clang - No LTO, no PIE -# Copyright 2022 Inference -# License: BSD 3-Clause Clear +# Copyright 2022-2023 Inference +# SPDX-License-Identifier: BSD-3-Clause-Clear -# 0.1.0.1 +# Version: 0.1.1.2 -# Flags. -## Hardening flags. +# Flags +## Hardening flags C_SEC="-fPIC -fstack-protector-all -fstack-clash-protection -D_FORTIFY_SOURCE=2 -ftrivial-auto-var-init=pattern -fwrapv" LD_SEC="-Wl,--strip-all -Wl,-z,defs -Wl,-z,now -Wl,-z,relro" - -## Compiler flags. +## Compiler flags CFLAGS="-march=znver3 -O2 -pipe -U__gnu_linux__ ${C_SEC}" CXXFLAGS="-march=znver3 -O2 -pipe ${C_SEC}" RUSTFLAGS="-Ctarget-cpu=znver3 -Copt-level=2 -Cdebuginfo=0" - -## Linker flags. +## Linker flags LDFLAGS="-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind ${LD_SEC}"