diff options
author | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-02-11 13:46:54 +0000 |
---|---|---|
committer | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-02-11 13:46:54 +0000 |
commit | f9d79161b11a83b40678c178b8621eab43763ba1 (patch) | |
tree | 2fe8433ba87874a267dde86b93318422ca9732c4 /Makefile.in | |
parent | 71385538d2b272934b1a1881bd19effe9374591f (diff) |
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.in | 24 |
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 */'; \ |