summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfgang Müller2025-02-27 11:04:00 +0100
committerWolfgang Müller2025-02-27 11:04:00 +0100
commitbac25e2b7b83e7a1842db5817f15031485c46ea9 (patch)
tree55b19771d548354407fbca646a521f4a47e4d2b9
parent671d575d9b278e7b7c6c9e22f6d8c15bd9001d7b (diff)
downloadportage-roles-bac25e2b7b83e7a1842db5817f15031485c46ea9.tar.gz
host-albatross: Set native RUSTFLAGS in make.conf
-rw-r--r--host-albatross/make.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/host-albatross/make.conf b/host-albatross/make.conf
index c98a63d..e876b45 100644
--- a/host-albatross/make.conf
+++ b/host-albatross/make.conf
@@ -3,6 +3,7 @@ CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
+RUSTFLAGS="${RUSTFLAGS} -C target-cpu=native"
USE="lto"
CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3"