aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-26 08:37:02 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-26 08:37:02 +0000
commit841686dbda2637dcfda14c7665214b00aac3a517 (patch)
treec778e9c6c41ebd2e6935ef58daccb3b65c8cbe9f /Makefile.in
parentcde972c9d127db7d8cd840466d63154ce1316516 (diff)
downloadruby-841686dbda2637dcfda14c7665214b00aac3a517.tar.gz
Makefile.in: fix portability issue
* Makefile.in (mjit_config.h): Alternative value with $@ and printf without argument are not portable, could fail on some platforms. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 62174b657f..64faaa8578 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -546,7 +546,7 @@ mjit_config.h:
@{ \
quote() { \
printf "#define $$1"; shift; \
- printf $${1+' "%s"'$$sep} $${@-" /**/"}; \
+ $${1+printf} $${1+' "%s"'$$sep} $${1+"$$@"}; \
echo; \
}; \
test "$(Q)" = @ || set -x; \