summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index 347b142499..947db0463b 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -534,3 +534,14 @@ loadpath: verconf.h
un-runnable:
$(ECHO) cannot make runnable, configure with --enable-load-relative.
$(Q) exit 1
+
+mjit_config.h:
+ $(ECHO) making $@
+ @{ \
+ echo '#ifndef RUBY_MJIT_CONFIG_H'; \
+ echo '#define RUBY_MJIT_CONFIG_H 1'; \
+ set x $(CC) && shift && echo '#define MJIT_CC "'$$1'"' \\; \
+ shift && for w do echo ' , "'$$w'"' \\; done; \
+ echo ' /* MJIT_CC */'; \
+ echo '#endif /* RUBY_MJIT_CONFIG_H */'; \
+ } > $@