Fix stack clash protection compiler hardening flag. Sort all flags A-Z.
This commit is contained in:
parent
35095be95d
commit
3199d5206c
8
portage/env/firefox.conf
vendored
8
portage/env/firefox.conf
vendored
@ -3,16 +3,16 @@
|
|||||||
# Copyright 2022-2023 Inference
|
# Copyright 2022-2023 Inference
|
||||||
# SPDX-License-Identifier: BSD-3-Clause-Clear
|
# SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||||
|
|
||||||
# Version: 3.0.0.3
|
# Version: 3.0.1.4
|
||||||
|
|
||||||
|
|
||||||
# Flags
|
# Flags
|
||||||
## Hardening flags
|
## Hardening flags
|
||||||
#C_SEC="-fPIE -fPIC -fstack-clash=protection -fstack-protector-strong -ftrivial-auto-var-init=zero -fwrapv"
|
#C_SEC="-fPIC -fPIE -fstack-clash-protection -fstack-protector-strong -ftrivial-auto-var-init=zero -fwrapv"
|
||||||
#LD_SEC="-Wl,-z,defs -Wl,-z,now -Wl,-pie -Wl,-z,relro -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__"
|
CFLAGS="-march=znver3 -mtune=znver3 -O2 -pipe -U__gnu_linux__"
|
||||||
CXXFLAGS="-march=znver3 -mtune=znver3 -O2 -pipe"
|
CXXFLAGS="-march=znver3 -mtune=znver3 -O2 -pipe"
|
||||||
RUSTFLAGS="-C target-cpu=znver3 -C opt-level=2 -C debuginfo=0"
|
RUSTFLAGS="-C debuginfo=0 -C opt-level=2 -C target-cpu=znver3"
|
||||||
## Linker flags
|
## Linker flags
|
||||||
LDFLAGS="-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind"
|
LDFLAGS="-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user