Add RUSTFLAGS.

This commit is contained in:
inference 2023-01-24 23:09:50 +00:00
parent 9dad2a82ea
commit fb6041a567
Signed by: inference
SSH Key Fingerprint: SHA256:9Pl0nZ2UJacgm+IeEtLSZ4FOESgP1eKCtRflfPfdX9M

View File

@ -4,12 +4,13 @@
# Copyright 2022-2023 Inference # Copyright 2022-2023 Inference
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
# Version: 5.0.0.8 # Version: 6.0.0.9
# Flags # Flags
## Compiler flags ## Compiler flags
CFLAGS="-march=znver3 -mtune=znver3 -O2 -pipe" CFLAGS="-march=znver3 -mtune=znver3 -O2 -pipe"
CXXFLAGS="-march=znver3 -mtune=znver3 -O2 -pipe" CXXFLAGS="-march=znver3 -mtune=znver3 -O2 -pipe"
RUSTFLAGS="-C debuginfo=0 -C target-cpu=znver3"
## Linker flags ## Linker flags
LDFLAGS="-Wl,-O2 -Wl,--strip-all" LDFLAGS="-Wl,-O2 -Wl,--strip-all"