diff --git a/portage/env/nolto.conf b/portage/env/nolto.conf new file mode 100644 index 0000000..40a4fcb --- /dev/null +++ b/portage/env/nolto.conf @@ -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"