Update copyright year range in preparation for 2023. Switch to SPDX license formatting. Improve comments.

This commit is contained in:
inference 2022-12-29 10:29:38 +00:00
parent 01ebe4bf8a
commit c6fb4ab8be

18
portage/env/gcc.conf vendored
View File

@ -1,12 +1,12 @@
# Portage - env - GCC
# Copyright 2022 Inference
# License: BSD 3-Clause Clear
# Copyright 2022-2023 Inference
# SPDX-License-Identifier: BSD-3-Clause-Clear
# 0.0.0.0
# Version: 0.0.1.1
# Toolchain.
# Toolchain
AR="ar"
CC="gcc"
CXX="g++"
@ -20,14 +20,12 @@ STRINGS="strings"
STRIP="strip"
# Flags.
## Hardening flags.
# Flags
## Hardening flags
C_SEC="-fPIE -fPIC -fstack-protector-all -fstack-clash-protection -D_FORTIFY_SOURCE=2 -fwrapv"
LD_SEC="-Wl,-pie -Wl,--strip-all -Wl,-z,defs -Wl,-z,now -Wl,-z,relro"
## Compiler flags.
## Compiler flags
CFLAGS="-march=znver3 -O2 -pipe -flto=4 -U__gnu_linux__ ${C_SEC}"
CXXFLAGS="-march=znver3 -O2 -pipe -flto=4 ${C_SEC}"
## Linker flags.
## Linker flags
LDFLAGS="-Wl,-O2 ${LD_SEC}"