File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ EXTMK_ARGS = $(SCRIPT_ARGS) --extension $(EXTS) --extstatic $(EXTSTATIC) \
185185 --make-flags="V=$(V) MINIRUBY='$(MINIRUBY)'" \
186186 --gnumake=$(gnumake) --extflags="$(EXTLDFLAGS)" \
187187 --
188- INSTRUBY = $(SUDO) $(RUNRUBY) -r./$(arch)-fake $(tooldir)/rbinstall.rb
188+ INSTRUBY = $(SUDO) $(INSTRUBY_ENV) $( RUNRUBY) -r./$(arch)-fake $(tooldir)/rbinstall.rb
189189INSTRUBY_ARGS = $(SCRIPT_ARGS) \
190190 --data-mode=$(INSTALL_DATA_MODE) \
191191 --prog-mode=$(INSTALL_PROG_MODE) \
Original file line number Diff line number Diff line change @@ -6,6 +6,10 @@ override mflags := $(filter-out -j%,$(MFLAGS))
66MSPECOPT += $(if $(filter -j% ,$(MFLAGS ) ) ,-j)
77nproc = $(subst -j,,$(filter -j% ,$(MFLAGS ) ) )
88
9+ ifneq ($(filter % darwin% ,$(arch ) ) ,)
10+ INSTRUBY_ENV += SDKROOT=/
11+ endif
12+
913CHECK_TARGETS := great exam love check test check% test% btest%
1014# expand test targets, and those dependents
1115TEST_TARGETS := $(filter $(CHECK_TARGETS ) ,$(MAKECMDGOALS ) )
You can’t perform that action at this time.
0 commit comments