mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
a8dc49b4d5
This add support for bmake, which should allow building with `configure --enable-yjit` for the BSDs. Tested on FreeBSD 13 and on macOS with `configure MAKE=bmake` on a case-sensitive file system. It works by including a fragment into the Makefile through the configure script, similar to common.mk. It uses the always rebuild approach to keep build system changes minimal.
14 lines
379 B
Makefile
14 lines
379 B
Makefile
# This file is included into the Makefile when
|
|
# we're *not* using GNU make. Stick to basic features.
|
|
|
|
# Rebuild every time since we don't want to list Rust source
|
|
# file dependencies.
|
|
.PHONY: yjit-static-lib
|
|
$(YJIT_LIBS): yjit-static-lib
|
|
$(empty)
|
|
|
|
yjit-static-lib:
|
|
$(ECHO) 'building Rust YJIT (release mode)'
|
|
$(Q) $(RUSTC) $(YJIT_RUSTC_ARGS)
|
|
|
|
miniruby$(EXEEXT): $(YJIT_LIBS)
|