Update system "aa000-0" Portage env "GCC" from version 1.0.2.3 to 3.0.0+9

This commit is contained in:
inference 2023-10-15 10:27:05 +01:00
parent a2191745da
commit a3735c4292
Signed by: inference
SSH Key Fingerprint: SHA256:FtEVfx1CmTKMy40VwZvF4k+3TC+QhCWy+EmPRg50Nnc

View File

@ -2,18 +2,17 @@
# Portage - env - GCC
# Copyright 2023 Jake Winters
# SPDX-License-Identifier: BSD-3-Clause-Clear
# SPDX-License-Identifier: BSD-3-Clause
# Version: 1.0.2.3
# Version: 3.0.0+9
# Flags
# Hardening flags
C_SEC="-fstack-clash-protection -fstack-protector-strong -ftrivial-auto-var-init=zero -fwrapv"
LD_SEC="-Wl,-z,defs -Wl,-z,now -Wl,-z,relro"
C_SEC="-fcf-protection=full -fstack-clash-protection -fstack-protector-strong -ftrivial-auto-var-init=zero -fwrapv"
## Compiler flags
CFLAGS="-flto=4 -march=znver3 -mtune=znver3 --optimize=2 -pipe ${C_SEC}"
CXXFLAGS="-flto=4 -march=znver3 -mtune=znver3 --optimize=2 -pipe ${C_SEC}"
CFLAGS="-flto=4 -march=znver3 -mtune=znver3 -O2 -pipe ${C_SEC}"
CXXFLAGS="-flto=4 -march=znver3 -mtune=znver3 -O2 -pipe ${C_SEC}"
RUSTFLAGS="-C debuginfo=0 -C lto -C opt-level=2 -C target-cpu=znver3"
## Linker flags
LDFLAGS="-Wl,-O2 -Wl,--strip-all ${LD_SEC}"