From 19022bef01774a2e9e8aa12f5149b4dd601aa146 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 26 Feb 2018 08:37:02 +0000 Subject: 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 --- Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; \ -- cgit v1.2.3