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:34:45 +00:00
parent 9c86b913d4
commit 043defe9f7

View File

@ -1,20 +1,18 @@
# Portage - env - Clang - No LTO # Portage - env - Clang - No LTO
# Copyright 2022 Inference # Copyright 2022-2023 Inference
# License: BSD 3-Clause Clear # SPDX-License-Identifier: BSD-3-Clause-Clear
# 0.0.0.0 # Version: 0.0.1.1
# Flags. # Flags
## Hardening flags. ## Hardening flags
C_SEC="-fPIE -fPIC -fstack-protector-all -fstack-clash-protection -D_FORTIFY_SOURCE=2 -ftrivial-auto-var-init=pattern -fwrapv" C_SEC="-fPIE -fPIC -fstack-protector-all -fstack-clash-protection -D_FORTIFY_SOURCE=2 -ftrivial-auto-var-init=pattern -fwrapv"
LD_SEC="-Wl,-pie -Wl,--strip-all -Wl,-z,defs -Wl,-z,now -Wl,-z,relro" 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 -U__gnu_linux__ ${C_SEC}" CFLAGS="-march=znver3 -O2 -pipe -U__gnu_linux__ ${C_SEC}"
CXXFLAGS="-march=znver3 -O2 -pipe ${C_SEC}" CXXFLAGS="-march=znver3 -O2 -pipe ${C_SEC}"
RUSTFLAGS="-Ctarget-cpu=znver3 -Copt-level=2 -Cdebuginfo=0" RUSTFLAGS="-Ctarget-cpu=znver3 -Copt-level=2 -Cdebuginfo=0"
## Linker flags
## Linker flags.
LDFLAGS="-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind ${LD_SEC}" LDFLAGS="-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind ${LD_SEC}"