1
0
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:
2018-12-13 16:06:58 +01:00
parent f0cc08a19c
commit 8c7b5c625d

View File

@@ -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"