Remove Rust tune-cpu flag since it is available only on nightly compiler.
This commit is contained in:
parent
c5d44bd79e
commit
6ba1f0950a
@ -3,7 +3,7 @@
|
||||
# Copyright 2022-2023 Inference
|
||||
# SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
|
||||
# Version: 5.0.0.28
|
||||
# Version: 6.0.0.29
|
||||
|
||||
|
||||
# System
|
||||
@ -55,7 +55,7 @@ LD_SEC="-Wl,-z,defs -Wl,-z,now -Wl,-pie -Wl,-z,relro -Wl,--strip-all"
|
||||
## Compiler flags
|
||||
CFLAGS="-march=znver3 -mtune=znver3 -O2 -pipe -flto=thin -U__gnu_linux__ ${C_SEC}"
|
||||
CXXFLAGS="-march=znver3 -mtune=znver3 -O2 -pipe -flto=thin ${C_SEC}"
|
||||
RUSTFLAGS="-C target-cpu=znver3 -Z tune-cpu=znver3 -C opt-level=2 -C lto -C embed-bitcode=y -C debuginfo=0"
|
||||
RUSTFLAGS="-C target-cpu=znver3 -C opt-level=2 -C lto -C embed-bitcode=y -C debuginfo=0"
|
||||
## Linker flags
|
||||
LDFLAGS="-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,--thinlto-jobs=4 ${LD_SEC}"
|
||||
## USE flags
|
||||
|
Loading…
x
Reference in New Issue
Block a user