1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

mjit_config.h: show content if verbose

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2018-02-10 10:07:41 +00:00
parent a16e93fb9e
commit b40f9d55b6
2 changed files with 5 additions and 3 deletions

View file

@ -538,6 +538,7 @@ un-runnable:
mjit_config.h:
$(ECHO) making $@
@{ \
$(Q:@=:) set -x; \
echo '#ifndef RUBY_MJIT_CONFIG_H'; \
echo '#define RUBY_MJIT_CONFIG_H 1'; \
set x $(CC) && shift && echo '#define MJIT_CC "'$$1'"' \\; \

View file

@ -1236,11 +1236,12 @@ loadpath: verconf.h
-e '/^^ /!d;s/ *"\\\\0"$$//;s/" *"//g'
mjit_config.h:
@$(ECHO) making <<$@
@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 */ >> $@
@echo /* MJIT_CC */>> $@
@echo #endif /* RUBY_MJIT_CONFIG_H */>> $@
@$(Q:@=: :) type $@