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 | 88035b997930bd00c30be7b69de9d855a7f2322e (patch) | |
tree | e25117f6ed570b3aea5a7156d71395326b6aa23c /win32/Makefile.sub | |
parent | 7112c6a1c15b26eebf0c020dfee7abd30eebde2d (diff) | |
download | ruby-88035b997930bd00c30be7b69de9d855a7f2322e.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/Makefile.sub')
-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 = |