summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-10 10:07:41 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-10 10:07:41 +0000
commitb40f9d55b61fa554838c2120edc22e187063a94d (patch)
treeae87c8afcb957abdd03126d90d9600040312d077
parenta16e93fb9ee4ed1af2d56d47825d456858d0d4d0 (diff)
mjit_config.h: show content if verbose
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--Makefile.in1
-rw-r--r--win32/Makefile.sub7
2 files changed, 5 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in
index 947db0463b..4e495562e2 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -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'"' \\; \
diff --git a/win32/Makefile.sub b/win32/Makefile.sub
index 82f039a7b9..5a43f571af 100644
--- a/win32/Makefile.sub
+++ b/win32/Makefile.sub
@@ -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 $@