mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 05:29:10 +02:00
DRY up CARGO_VERBOSE for JITs
This commit is contained in:
parent
116509670a
commit
1a20765074
3 changed files with 6 additions and 10 deletions
|
@ -7,6 +7,12 @@
|
|||
RUST_LIB_TOUCH = touch $@
|
||||
|
||||
ifneq ($(JIT_CARGO_SUPPORT),no)
|
||||
|
||||
# Show Cargo progress when doing `make V=1`
|
||||
CARGO_VERBOSE_0 = -q
|
||||
CARGO_VERBOSE_1 =
|
||||
CARGO_VERBOSE = $(CARGO_VERBOSE_$(V))
|
||||
|
||||
# NOTE: MACOSX_DEPLOYMENT_TARGET to match `rustc --print deployment-target` to avoid the warning below.
|
||||
# ld: warning: object file (target/debug/libjit.a(<libcapstone object>)) was built for
|
||||
# newer macOS version (15.2) than being linked (15.0)
|
||||
|
|
|
@ -1,10 +1,5 @@
|
|||
# -*- mode: makefile-gmake; indent-tabs-mode: t -*-
|
||||
|
||||
# Show Cargo progress when doing `make V=1`
|
||||
CARGO_VERBOSE_0 = -q
|
||||
CARGO_VERBOSE_1 =
|
||||
CARGO_VERBOSE = $(CARGO_VERBOSE_$(V))
|
||||
|
||||
YJIT_SRC_FILES = $(wildcard \
|
||||
$(top_srcdir)/yjit/Cargo.* \
|
||||
$(top_srcdir)/yjit/src/*.rs \
|
||||
|
|
|
@ -3,11 +3,6 @@
|
|||
# Put no definitions when ZJIT isn't configured
|
||||
ifneq ($(ZJIT_SUPPORT),no)
|
||||
|
||||
# Show Cargo progress when doing `make V=1`
|
||||
CARGO_VERBOSE_0 = -q
|
||||
CARGO_VERBOSE_1 =
|
||||
CARGO_VERBOSE = $(CARGO_VERBOSE_$(V))
|
||||
|
||||
ZJIT_SRC_FILES = $(wildcard \
|
||||
$(top_srcdir)/zjit/Cargo.* \
|
||||
$(top_srcdir)/zjit/src/*.rs \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue