Add RUSTFLAGS optimisation level.
This commit is contained in:
parent
841ff933ce
commit
4ec75db812
2
desktop/portage/env/gcc-basic.conf
vendored
2
desktop/portage/env/gcc-basic.conf
vendored
@ -19,6 +19,6 @@ STRIP="strip"
|
||||
## Compiler flags
|
||||
CFLAGS="-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
|
||||
LDFLAGS="-Wl,-O2 -Wl,--strip-all"
|
||||
|
Loading…
x
Reference in New Issue
Block a user