Sort all flags A-Z.

This commit is contained in:
inference 2023-01-17 01:40:08 +00:00
parent 52597eeae4
commit 028c4aebd3
Signed by: inference
SSH Key Fingerprint: SHA256:9Pl0nZ2UJacgm+IeEtLSZ4FOESgP1eKCtRflfPfdX9M

View File

@ -3,7 +3,7 @@
# Copyright 2022-2023 Inference # Copyright 2022-2023 Inference
# SPDX-License-Identifier: BSD-3-Clause-Clear # SPDX-License-Identifier: BSD-3-Clause-Clear
# Version: 2.0.0.3 # Version: 2.0.1.4
# Toolchain # Toolchain
@ -23,8 +23,8 @@ STRIP="strip"
# Flags # Flags
## Hardening flags ## Hardening flags
C_SEC="-fPIE -fPIC -fstack-clash-protection -fstack-protector-strong -fwrapv" C_SEC="-fPIC -fPIE -fstack-clash-protection -fstack-protector-strong -fwrapv"
LD_SEC="-Wl,-z,defs -Wl,-z,now -Wl,-z,relro -Wl,-pie -Wl,--strip-all" LD_SEC="-Wl,-pie -Wl,--strip-all -Wl,-z,defs -Wl,-z,now -Wl,-z,relro"
## Compiler flags ## Compiler flags
CFLAGS="-march=znver3 -mtune=znver3 -O2 -pipe -U__gnu_linux__ ${C_SEC}" CFLAGS="-march=znver3 -mtune=znver3 -O2 -pipe -U__gnu_linux__ ${C_SEC}"
CXXFLAGS="-march=znver3 -mtune=znver3 -O2 -pipe ${C_SEC}" CXXFLAGS="-march=znver3 -mtune=znver3 -O2 -pipe ${C_SEC}"