Add RUSTFLAGS optimisation level.
This commit is contained in:
parent
82fa71dd63
commit
841ff933ce
4
desktop/portage/env/basic.conf
vendored
4
desktop/portage/env/basic.conf
vendored
@ -4,13 +4,13 @@
|
|||||||
# Copyright 2023 Jake Winters
|
# Copyright 2023 Jake Winters
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
# Version: 2.0.0.2
|
# Version: 3.0.0.3
|
||||||
|
|
||||||
|
|
||||||
# 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"
|
RUSTFLAGS="-C debuginfo=0 -C opt-level=2 -C target-cpu=znver3"
|
||||||
## Linker flags
|
## Linker flags
|
||||||
LDFLAGS="-Wl,-O2 -Wl,--strip-all"
|
LDFLAGS="-Wl,-O2 -Wl,--strip-all"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user