Switch from short-form arguments to long-form arguments to increase readability. Sort flags A-Z.

This commit is contained in:
inference 2022-12-27 05:40:45 +00:00
parent c50bd915a8
commit 26d2cb3a8f

View File

@ -3,7 +3,7 @@
# Copyright 2022-2023 Inference
# SPDX-License-Identifier: BSD-3-Clause-Clear
# Version: 2.0.1.6
# Version: 2.0.2.7
# System
@ -26,7 +26,7 @@ GENTOO_MIRRORS="rsync://mirror.bytemark.co.uk/gentoo/ rsync://rsync.mirrorservic
## Emerge
EMERGE_DEFAULT_OPTS="--ask --verbose"
FEATURES="buildpkg"
MAKEOPTS="-j4"
MAKEOPTS="--jobs 4"
# Toolchain
@ -46,8 +46,8 @@ STRIP="llvm-strip"
# Flags
## Hardening flags
C_SEC="-fPIE -fPIC -fstack-protector-all -fstack-clash-protection -D_FORTIFY_SOURCE=2 -ftrivial-auto-var-init=pattern -fwrapv"
LD_SEC="-Wl,-pie -Wl,--strip-all -Wl,-z,defs -Wl,-z,now -Wl,-z,relro"
C_SEC="-D_FORTIFY_SOURCE=2 -fPIC -fPIE -fstack-clash-protection -fstack-protector-all -ftrivial-auto-var-init=pattern -fwrapv"
LD_SEC="-Wl,-z,defs -Wl,-z,now -Wl,-pie -Wl,-z,relro -Wl,--strip-all"
## Compiler flags
CFLAGS="-march=znver3 -O2 -pipe -flto=thin -U__gnu_linux__ ${C_SEC}"