aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-11 14:01:52 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-11 14:01:52 +0000
commit29e80f301fd18602eacdf5b76d58bc90ca2106cb (patch)
tree93ddf101f22f856be0405dd59e2f8f70472450b0 /Makefile.in
parent1e4281ac2fa1c9dd1b2f3733ae9daccc7422ff65 (diff)
downloadruby-29e80f301fd18602eacdf5b76d58bc90ca2106cb.tar.gz
Makefile.in: use "%s"
* Makefile.in (mjit_config.h): use "%s" not to interprete % in arguments. and `set` and `loop` are not needed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in24
1 files changed, 12 insertions, 12 deletions
diff --git a/Makefile.in b/Makefile.in
index 601b18d8a1..407a1d9fe2 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -542,28 +542,28 @@ mjit_config.h:
echo '#ifndef RUBY_MJIT_CONFIG_H'; \
echo '#define RUBY_MJIT_CONFIG_H 1'; \
\
- set x $(CC) && shift && printf '#define MJIT_CC_COMMON ' && \
- for w do printf '"'$$w'", '; done; \
+ printf '#define MJIT_CC_COMMON ' && \
+ printf ' "%s",' $(CC) && \
echo; \
\
- set x -w $(ARCH_FLAG) && shift && printf '#define MJIT_CFLAGS ' && \
- for w do printf '"'$$w'", '; done; \
+ printf '#define MJIT_CFLAGS ' && \
+ printf ' "%s",' -w $(ARCH_FLAG) && \
echo; \
\
- set x $(optflags) && shift && printf '#define MJIT_OPTFLAGS ' && \
- for w do printf '"'$$w'", '; done; \
+ printf '#define MJIT_OPTFLAGS ' && \
+ printf ' "%s",' $(optflags) && \
echo; \
\
- set x $(debugflags) && shift && printf '#define MJIT_DEBUGFLAGS ' && \
- for w do printf '"'$$w'", '; done; \
+ printf '#define MJIT_DEBUGFLAGS ' && \
+ printf ' "%s",' $(debugflags) && \
echo; \
\
- set x @LDSHARED@ && shift && printf '#define MJIT_LDSHARED ' && \
- for w do printf '"'$$w'", '; done; \
+ printf '#define MJIT_LDSHARED ' && \
+ printf ' "%s",' @LDSHARED@ && \
echo; \
\
- set x @DLDFLAGS@ && shift && printf '#define MJIT_DLDFLAGS ' && \
- for w do printf '"'$$w'", '; done; \
+ printf '#define MJIT_DLDFLAGS ' && \
+ printf ' "%s",' @DLDFLAGS@ && \
echo; \
\
echo '#endif /* RUBY_MJIT_CONFIG_H */'; \