aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authork0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-11 13:46:54 +0000
committerk0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-11 13:46:54 +0000
commit1e4281ac2fa1c9dd1b2f3733ae9daccc7422ff65 (patch)
tree2fe8433ba87874a267dde86b93318422ca9732c4 /Makefile.in
parent32b8e0967950d4a6ffbe4532d7b59f75224f437f (diff)
downloadruby-1e4281ac2fa1c9dd1b2f3733ae9daccc7422ff65.tar.gz
Makefile.in: use printf
`echo -n` is sometimes not available. https://rubyci.org/logs/rubyci.s3.amazonaws.com/unstable11s/ruby-trunk/log/20180211T132503Z.log.html.gz#miniruby git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62372 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 f94d64f515..601b18d8a1 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 && echo -n '#define MJIT_CC_COMMON ' && \
- for w do echo -n '"'$$w'", '; done; \
+ set x $(CC) && shift && printf '#define MJIT_CC_COMMON ' && \
+ for w do printf '"'$$w'", '; done; \
echo; \
\
- set x -w $(ARCH_FLAG) && shift && echo -n '#define MJIT_CFLAGS ' && \
- for w do echo -n '"'$$w'", '; done; \
+ set x -w $(ARCH_FLAG) && shift && printf '#define MJIT_CFLAGS ' && \
+ for w do printf '"'$$w'", '; done; \
echo; \
\
- set x $(optflags) && shift && echo -n '#define MJIT_OPTFLAGS ' && \
- for w do echo -n '"'$$w'", '; done; \
+ set x $(optflags) && shift && printf '#define MJIT_OPTFLAGS ' && \
+ for w do printf '"'$$w'", '; done; \
echo; \
\
- set x $(debugflags) && shift && echo -n '#define MJIT_DEBUGFLAGS ' && \
- for w do echo -n '"'$$w'", '; done; \
+ set x $(debugflags) && shift && printf '#define MJIT_DEBUGFLAGS ' && \
+ for w do printf '"'$$w'", '; done; \
echo; \
\
- set x @LDSHARED@ && shift && echo -n '#define MJIT_LDSHARED ' && \
- for w do echo -n '"'$$w'", '; done; \
+ set x @LDSHARED@ && shift && printf '#define MJIT_LDSHARED ' && \
+ for w do printf '"'$$w'", '; done; \
echo; \
\
- set x @DLDFLAGS@ && shift && echo -n '#define MJIT_DLDFLAGS ' && \
- for w do echo -n '"'$$w'", '; done; \
+ set x @DLDFLAGS@ && shift && printf '#define MJIT_DLDFLAGS ' && \
+ for w do printf '"'$$w'", '; done; \
echo; \
\
echo '#endif /* RUBY_MJIT_CONFIG_H */'; \