Sort all flags A-Z.
This commit is contained in:
parent
028c4aebd3
commit
490f65c47d
8
portage/env/gcc-nopie.conf
vendored
8
portage/env/gcc-nopie.conf
vendored
@ -3,7 +3,7 @@
|
||||
# Copyright 2022-2023 Inference
|
||||
# SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
|
||||
# Version: 2.0.0.4
|
||||
# Version: 2.0.1.5
|
||||
|
||||
|
||||
# Toolchain
|
||||
@ -24,9 +24,9 @@ STRIP="strip"
|
||||
# Flags
|
||||
## Hardening flags
|
||||
C_SEC="-fPIC -fstack-clash-protection -fstack-protector-strong -fwrapv"
|
||||
LD_SEC="-Wl,-z,defs -Wl,-z,now -Wl,-z,relro -Wl,--strip-all"
|
||||
LD_SEC="-Wl,--strip-all -Wl,-z,defs -Wl,-z,now -Wl,-z,relro"
|
||||
## Compiler flags
|
||||
CFLAGS="-march=znver3 -mtune=znver3 -O2 -pipe -flto=4 -U__gnu_linux__ ${C_SEC}"
|
||||
CXXFLAGS="-march=znver3 -mtune=znver3 -O2 -pipe -flto=4 ${C_SEC}"
|
||||
CFLAGS="-flto=4 -march=znver3 -mtune=znver3 -O2 -pipe -U__gnu_linux__ ${C_SEC}"
|
||||
CXXFLAGS="-flto=4 -march=znver3 -mtune=znver3 -O2 -pipe ${C_SEC}"
|
||||
## Linker flags
|
||||
LDFLAGS="-Wl,-O2 ${LD_SEC}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user