Force compiler code tuning to AMD Zen 3 architecture.

This commit is contained in:
inference 2023-01-03 14:03:43 +00:00
parent efe980fc31
commit 733461ca65

View File

@ -3,12 +3,12 @@
# Copyright 2022-2023 Inference
# SPDX-License-Identifier: BSD-3-Clause-Clear
# Version: 0.0.2.2
# Version: 1.0.0.3
# Flags
## Compiler flags
CFLAGS="-march=znver3 -O2 -pipe -U__gnu_linux__"
CXXFLAGS="-march=znver3 -O2 -pipe"
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"