Skip to content

Commit ad3d37b

Browse files
committed
Run RDoc with baseruby when cross-compling
To run with the revision specified in gems/bundled_gems file.
1 parent 3219369 commit ad3d37b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

common.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ LIBRUBY_EXTS = ./.libruby-with-ext.time
6969
REVISION_H = ./.revision.time
7070
PLATFORM_D = $(TIMESTAMPDIR)/.$(PLATFORM_DIR).time
7171
ENC_TRANS_D = $(TIMESTAMPDIR)/.enc-trans.time
72-
X_$(no_baseruby:no=NO_)BASERUBY = $(BASERUBY)
73-
X_$(yes_baseruby:yes=NO_)BASERUBY = $(XRUBY)
72+
X_$(CROSS_COMPILING:yes=)BASERUBY = $(BASERUBY)
73+
X_$(CROSS_COMPILING:no=)BASERUBY = $(XRUBY)
7474
RDOC = $(X_BASERUBY) --enable-gems "$(tooldir)/rdoc-srcdir"
7575
RDOCOUT = $(EXTOUT)/rdoc
7676
HTMLOUT = $(EXTOUT)/html

0 commit comments

Comments
 (0)