Add RUSTFLAGS to GCC - Basic env.

This commit is contained in:
inference 2023-02-28 21:38:04 +00:00
parent 89081a825d
commit a79ee62ad8
Signed by: inference
SSH Key Fingerprint: SHA256:9Pl0nZ2UJacgm+IeEtLSZ4FOESgP1eKCtRflfPfdX9M

View File

@ -4,7 +4,7 @@
# 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.7 # Version: 6.0.0.8
# Toolchain # Toolchain
@ -19,5 +19,6 @@ STRIP="strip"
## 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"