Add xb000-0 Portage env GCC - No LTO version 8.0.0.12.
This commit is contained in:
parent
7c6d8babdb
commit
3474bd0a05
19
server/xb000-0/portage/env/gcc-nolto.conf
vendored
Normal file
19
server/xb000-0/portage/env/gcc-nolto.conf
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
# Inferencium - xb000-0
|
||||
# Portage - env - GCC - No LTO
|
||||
|
||||
# Copyright 2023 Jake Winters
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
# Version: 8.0.0.12
|
||||
|
||||
|
||||
# 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"
|
||||
## Compiler flags
|
||||
CFLAGS="-march=znver1 -mtune=znver1 --optimize=2 -pipe ${C_SEC}"
|
||||
CXXFLAGS="-march=znver1 -mtune=znver1 --optimize=2 -pipe ${C_SEC}"
|
||||
RUSTFLAGS="-C debuginfo=0 -C opt-level=2 -C target-cpu=znver1"
|
||||
## Linker flags
|
||||
LDFLAGS="-Wl,-O2 -Wl,--strip-all ${LD_SEC}"
|
Loading…
x
Reference in New Issue
Block a user