summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2023-08-19 00:50:04 +0800
committerruki <[email protected]>2023-08-19 00:50:04 +0800
commit082c0d445eb93734bcf2f010b4c8874f8fcc2f55 (patch)
treead391cbdc117837eabc5ccb9d200ecf8ec5fc4d3
parent19dd611f53d01c14314143d2a52ab49b0faddb98 (diff)
pass rc for clang #4093
-rw-r--r--xmake/modules/package/tools/cmake.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/modules/package/tools/cmake.lua b/xmake/modules/package/tools/cmake.lua
index fcf8b16de..6fd8ce855 100644
--- a/xmake/modules/package/tools/cmake.lua
+++ b/xmake/modules/package/tools/cmake.lua
@@ -562,6 +562,7 @@ function _get_configs_for_host_toolchain(package, configs, opt)
envs.CMAKE_C_COMPILER = _translate_bin_path(package:build_getenv("cc"))
envs.CMAKE_CXX_COMPILER = _translate_bin_path(package:build_getenv("cxx"))
envs.CMAKE_ASM_COMPILER = _translate_bin_path(package:build_getenv("as"))
+ envs.CMAKE_RC_COMPILER = _translate_bin_path(package:build_getenv("mrc"))
envs.CMAKE_AR = _translate_bin_path(package:build_getenv("ar"))
-- https://github.com/xmake-io/xmake-repo/pull/1096
local cxx = envs.CMAKE_CXX_COMPILER