diff --git a/aa000-0/portage/env/gcc-nolto.conf b/aa000-0/portage/env/gcc-nolto.conf index 3b11174..dd9e88d 100644 --- a/aa000-0/portage/env/gcc-nolto.conf +++ b/aa000-0/portage/env/gcc-nolto.conf @@ -1,19 +1,18 @@ # Inferencium - aa000-0 # Portage - env - GCC - No LTO -# Copyright 2022-2023 Jake Winters -# SPDX-License-Identifier: BSD-3-Clause-Clear +# Copyright 2022 Jake Winters +# SPDX-License-Identifier: BSD-3-Clause -# Version: 8.0.2.14 +# Version: 10.0.0-beta.1+20 # 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="-march=znver3 -mtune=znver3 --optimize=2 -pipe ${C_SEC}" -CXXFLAGS="-march=znver3 -mtune=znver3 --optimize=2 -pipe ${C_SEC}" +CFLAGS="-march=znver3 -mtune=znver3 -O2 -pipe ${C_SEC}" +CXXFLAGS="-march=znver3 -mtune=znver3 -O2 -pipe ${C_SEC}" RUSTFLAGS="-C debuginfo=0 -C opt-level=2 -C target-cpu=znver3" ## Linker flags LDFLAGS="-Wl,-O2 -Wl,--strip-all ${LD_SEC}"