Add linker stripping flag.
This commit is contained in:
parent
bec3b50ecd
commit
b2b5946df7
4
portage/env/basic.conf
vendored
4
portage/env/basic.conf
vendored
@ -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: 1.0.0.3
|
# Version: 2.0.0.4
|
||||||
|
|
||||||
|
|
||||||
# Flags
|
# Flags
|
||||||
@ -11,4 +11,4 @@
|
|||||||
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"
|
||||||
## Linker flags
|
## Linker flags
|
||||||
LDFLAGS="-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind"
|
LDFLAGS="-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,--strip-all"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user