summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-11-05 12:48:11 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2022-11-06 06:47:38 +0900
commit10fd1d9507a87bc9cdb1592cdb10c7890e52eb30 (patch)
treec26701d3a7a7fc96919f2b6fb545fc7490459ec0
parent3a6cdeda89280ade714f158830acee88fb36306d (diff)
Should use the configured rustc consistently
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/6677
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index c73b7fb7e1..7b0c6014b2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3756,7 +3756,7 @@ AC_ARG_ENABLE(yjit,
[YJIT_SUPPORT=$enableval],
[
AS_IF([test x"$RUSTC" != "xno"],
- AS_IF([ echo "fn main() { let x = 1; format!(\"{x}\"); }" | rustc - --emit asm=/dev/null ],
+ AS_IF([ echo "fn main() { let x = 1; format!(\"{x}\"); }" | $RUSTC - --emit asm=/dev/null ],
AS_IF([test x"$YJIT_TARGET_OK" != "xno"],
[YJIT_SUPPORT=yes],
[YJIT_SUPPORT=no]