diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-02-06 03:19:42 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-02-06 03:19:42 +0000 |
commit | f3a49d5a768560be32009289e936b8e005ddd373 (patch) | |
tree | e25117f6ed570b3aea5a7156d71395326b6aa23c /win32 | |
parent | 6ac7ac18b10830d61998d1f12d2b1da1f295a1ca (diff) | |
download | ruby-f3a49d5a768560be32009289e936b8e005ddd373.tar.gz |
mjit headers for universal binary
* 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
Diffstat (limited to 'win32')
-rw-r--r-- | win32/Makefile.sub | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub index 01802384fe..cb5fb9c7fe 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -287,6 +287,8 @@ LDSHARED_2 = @if exist $(@).manifest @$(RM) $(@:/=\).manifest !endif CPPFLAGS = $(DEFS) $(ARCHDEFS) $(CPPFLAGS) -DMJIT_HEADER_BUILD_DIR=\""$(EXTOUT)/include/$(arch)"\" -DLIBRUBYARG_SHARED=\""$(LIBRUBYARG_SHARED)"\" -DMJIT_HEADER_INSTALL_DIR=\""include/$(RUBY_BASE_NAME)-$(ruby_version)/$(arch)"\" MJIT_HEADER_FLAGS = -P +MJIT_HEADER_SUFFIX = +MJIT_HEADER_ARCH = DLDFLAGS = $(LDFLAGS) -dll SOLIBS = |