mirror of
https://github.com/bertptrs/vimconfig.git
synced 2025-12-25 12:30:32 +01:00
Force better native compilation for Rust.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
# march=native and flto added
|
||||
CFLAGS="-march=native -mtune=native -O2 -pipe -fstack-protector-strong"
|
||||
CXXFLAGS="-march=native -mtune=native -O2 -pipe -fstack-protector-strong"
|
||||
RUSTFLAGS="-C target_cpu=native"
|
||||
|
||||
# Do a parallel build.
|
||||
MAKEFLAGS="-j6"
|
||||
|
||||
Reference in New Issue
Block a user