From b2b5946df7b5bc73e5ad53d57a0ee5d57f83bcb3 Mon Sep 17 00:00:00 2001 From: inference Date: Tue, 17 Jan 2023 05:03:55 +0000 Subject: [PATCH] Add linker stripping flag. --- portage/env/basic.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/portage/env/basic.conf b/portage/env/basic.conf index a212c1e..e4c7604 100644 --- a/portage/env/basic.conf +++ b/portage/env/basic.conf @@ -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 # Flags @@ -11,4 +11,4 @@ CFLAGS="-march=znver3 -mtune=znver3 -O2 -pipe -U__gnu_linux__" CXXFLAGS="-march=znver3 -mtune=znver3 -O2 -pipe" ## Linker flags -LDFLAGS="-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind" +LDFLAGS="-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,--strip-all"