Add linker stripping flag.
This commit is contained in:
parent
b2b5946df7
commit
c8d2974c94
4
portage/env/gcc-basic.conf
vendored
4
portage/env/gcc-basic.conf
vendored
@ -3,7 +3,7 @@
|
||||
# Copyright 2022-2023 Inference
|
||||
# SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
|
||||
# Version: 1.0.0.3
|
||||
# Version: 2.0.0.4
|
||||
|
||||
|
||||
# Toolchain
|
||||
@ -26,4 +26,4 @@ STRIP="strip"
|
||||
CFLAGS="-march=znver3 -mtune=znver3 -O2 -pipe -U__gnu_linux__"
|
||||
CXXFLAGS="-march=znver3 -mtune=znver3 -O2 -pipe"
|
||||
## Linker flags
|
||||
LDFLAGS="-Wl,-O2"
|
||||
LDFLAGS="-Wl,-O2 -Wl,--strip-all"
|
||||
|
Loading…
x
Reference in New Issue
Block a user