Switch from short-form arguments to long-form arguments to increase readability. Sort flags A-Z.
This commit is contained in:
parent
c50bd915a8
commit
26d2cb3a8f
@ -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.1.6
|
# Version: 2.0.2.7
|
||||||
|
|
||||||
|
|
||||||
# System
|
# System
|
||||||
@ -26,7 +26,7 @@ GENTOO_MIRRORS="rsync://mirror.bytemark.co.uk/gentoo/ rsync://rsync.mirrorservic
|
|||||||
## Emerge
|
## Emerge
|
||||||
EMERGE_DEFAULT_OPTS="--ask --verbose"
|
EMERGE_DEFAULT_OPTS="--ask --verbose"
|
||||||
FEATURES="buildpkg"
|
FEATURES="buildpkg"
|
||||||
MAKEOPTS="-j4"
|
MAKEOPTS="--jobs 4"
|
||||||
|
|
||||||
|
|
||||||
# Toolchain
|
# Toolchain
|
||||||
@ -46,8 +46,8 @@ STRIP="llvm-strip"
|
|||||||
|
|
||||||
# Flags
|
# Flags
|
||||||
## Hardening flags
|
## Hardening flags
|
||||||
C_SEC="-fPIE -fPIC -fstack-protector-all -fstack-clash-protection -D_FORTIFY_SOURCE=2 -ftrivial-auto-var-init=pattern -fwrapv"
|
C_SEC="-D_FORTIFY_SOURCE=2 -fPIC -fPIE -fstack-clash-protection -fstack-protector-all -ftrivial-auto-var-init=pattern -fwrapv"
|
||||||
LD_SEC="-Wl,-pie -Wl,--strip-all -Wl,-z,defs -Wl,-z,now -Wl,-z,relro"
|
LD_SEC="-Wl,-z,defs -Wl,-z,now -Wl,-pie -Wl,-z,relro -Wl,--strip-all"
|
||||||
|
|
||||||
## Compiler flags
|
## Compiler flags
|
||||||
CFLAGS="-march=znver3 -O2 -pipe -flto=thin -U__gnu_linux__ ${C_SEC}"
|
CFLAGS="-march=znver3 -O2 -pipe -flto=thin -U__gnu_linux__ ${C_SEC}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user