mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
88035b9979
* common.mk (MJIT_HEADER, MJIT_MIN_HEADER): added hook to separate intermediate headers per archs. * defs/gmake.mk: build mjit headers per -arch options, and then merge the headers with `#ifdef`s. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
5 lines
204 B
Makefile
5 lines
204 B
Makefile
arch_flags := $(filter -arch=%,$(subst -arch ,-arch=,$(ARCH_FLAG)))
|
|
ifeq ($(filter 0 1,$(words $(arch_flags))),)
|
|
override MJIT_HEADER_SUFFIX = -%
|
|
override MJIT_HEADER_ARCH = -$(word 2,$(ARCH_FLAG))
|
|
endif
|