Remove hardening flags to allow untrusted packages to be specifically hardened using envs. Move linker stripping flag to standard linker flags.
This commit is contained in:
parent
bbcf29bcee
commit
161fb62ce7
15
portage/env/nolto.conf
vendored
Normal file
15
portage/env/nolto.conf
vendored
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
# Portage - env - Clang - No LTO
|
||||||
|
|
||||||
|
# Copyright 2022-2023 Inference
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||||
|
|
||||||
|
# Version: 4.0.0.5
|
||||||
|
|
||||||
|
|
||||||
|
# Flags
|
||||||
|
## Compiler flags
|
||||||
|
CFLAGS="-march=znver3 -mtune=znver3 -O2 -pipe -U__gnu_linux__"
|
||||||
|
CXXFLAGS="-march=znver3 -mtune=znver3 -O2 -pipe"
|
||||||
|
RUSTFLAGS="-C debuginfo=0 -C opt-level=2 -C target-cpu=znver3"
|
||||||
|
## Linker flags
|
||||||
|
LDFLAGS="-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,--strip-all"
|
Loading…
x
Reference in New Issue
Block a user