summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2025-12-03 17:20:44 -0500
committerAlan Wu <XrXr@users.noreply.github.com>2025-12-05 15:49:25 -0500
commitaddeafdd5b9e2404eef555f523bc92a6c373d294 (patch)
tree32aa5ccca7ec976a0f3d33271c7cc4050f25e79e
parent8296524fd6cf2fb9ae1eca4be722fe9ee2c26f37 (diff)
YJIT: Fix duplicate make rule warning in combo build
-rw-r--r--yjit/yjit.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/yjit/yjit.mk b/yjit/yjit.mk
index cf68edb297..e019e4a08c 100644
--- a/yjit/yjit.mk
+++ b/yjit/yjit.mk
@@ -19,8 +19,8 @@ YJIT_LIB_TOUCH = touch $@
# the "target" dir in the source directory through VPATH.
BUILD_YJIT_LIBS = $(TOP_BUILD_DIR)/$(YJIT_LIBS)
-# YJIT_SUPPORT=yes when `configure` gets `--enable-yjit`
-ifeq ($(YJIT_SUPPORT),yes)
+# In a YJIT-only build (no ZJIT)
+ifneq ($(strip $(YJIT_LIBS)),)
yjit-libs: $(BUILD_YJIT_LIBS)
$(BUILD_YJIT_LIBS): $(YJIT_SRC_FILES)
$(ECHO) 'building Rust YJIT (release mode)'