Add RUSTFLAGS to ENV/super

This commit is contained in:
Tokarak 2023-06-17 10:16:53 +01:00
parent 2133da8597
commit 9a99b932e8

View File

@ -63,6 +63,7 @@ module Superenv
self["HOMEBREW_ENV"] = "super"
self["MAKEFLAGS"] ||= "-j#{determine_make_jobs}"
self["RUSTFLAGS"] = Hardware.rustflags_target_cpu
self["PATH"] = determine_path
self["PKG_CONFIG_PATH"] = determine_pkg_config_path
self["PKG_CONFIG_LIBDIR"] = determine_pkg_config_libdir