Add file purpose. Switch license from BSD-3-Clause-Clear to GPL-3.0-or-later. Remove -U__gnu_linux__ CFLAG.

This commit is contained in:
inference 2023-01-24 09:10:40 +00:00
parent c30e2bb756
commit ab64142b55
Signed by: inference
SSH Key Fingerprint: SHA256:9Pl0nZ2UJacgm+IeEtLSZ4FOESgP1eKCtRflfPfdX9M

View File

@ -1,15 +1,15 @@
# Portage - env - Clang - No LTO
# Inferencium
# Portage - env - GCC - No LTO
# Copyright 2022-2023 Inference
# SPDX-License-Identifier: BSD-3-Clause-Clear
# SPDX-License-Identifier: GPL-3.0-or-later
# Version: 4.0.0.5
# Version: 5.0.0.8
# Flags
## Compiler flags
CFLAGS="-march=znver3 -mtune=znver3 -O2 -pipe -U__gnu_linux__"
CFLAGS="-march=znver3 -mtune=znver3 -O2 -pipe"
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"
LDFLAGS="-Wl,-O2 -Wl,--strip-all"