diff --git a/portage/env/malloc-basic.conf b/portage/env/malloc-basic.conf index 8e2ec03..52a4dc7 100644 --- a/portage/env/malloc-basic.conf +++ b/portage/env/malloc-basic.conf @@ -1,18 +1,16 @@ # Portage - env - Clang - Malloc, Basic -# Copyright 2022 Inference -# License: BSD 3-Clause Clear +# Copyright 2022-2023 Inference +# SPDX-License-Identifier: BSD-3-Clause-Clear -# 0.0.1.1 +# Version: 0.0.2.2 -# Flags. -## Hardening flags. +# Flags +## Hardening flags LD_SEC="-L/usr/local/lib -lhardened_malloc" - -## Compiler flags. +## Compiler flags CFLAGS="-march=znver3 -O2 -pipe -U__gnu_linux__" CXXFLAGS="-march=znver3 -O2 -pipe" - -## Linker flags. +## Linker flags LDFLAGS="-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind ${LD_SEC}"