diff options
Diffstat (limited to 'win32')
-rw-r--r-- | win32/Makefile.sub | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub index 0f177a2b21..82f039a7b9 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -1234,3 +1234,13 @@ loadpath: verconf.h @$(CPP) $(XCFLAGS) $(CPPFLAGS) $(srcdir)/loadpath.c | \ sed -e '1,/^const char ruby_initial_load_paths/d;/;/,$$d' \ -e '/^^ /!d;s/ *"\\\\0"$$//;s/" *"//g' + +mjit_config.h: + @$(ECHO) making <<$@ +#ifndef RUBY_MJIT_CONFIG_H +#define RUBY_MJIT_CONFIG_H 1 +<<KEEP + @(set sep=#define MJIT_CC ) & \ + for %I in ($(CC)) do @(call echo.%%sep%%"%%~I" \& set sep= ,) >> $@ + $(Q)echo /* MJIT_CC */>> $@ + $(Q)echo #endif /* RUBY_MJIT_CONFIG_H */ >> $@ |