From 335cd8ab6a8625efff924db52216fb94a3d04a08 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 11 Apr 2015 02:01:57 +0000 Subject: mkmf.rb: fix syntax errors * lib/mkmf.rb (append_cppflags, append_cflags, append_ldflags): fix missing parentheses. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/mkmf.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/mkmf.rb') diff --git a/lib/mkmf.rb b/lib/mkmf.rb index 8a21666b76..86fc49155a 100644 --- a/lib/mkmf.rb +++ b/lib/mkmf.rb @@ -615,7 +615,7 @@ MSG def append_cppflags(flags, *opts) Array(flags).each do |flag| - if checking_for "whether #{flag} is accepted as CPPFLAGS" { + if checking_for("whether #{flag} is accepted as CPPFLAGS") { try_cppflags(flag, *opts) } $CPPFLAGS << " " << flag @@ -637,7 +637,7 @@ MSG def append_cflags(flags, *opts) Array(flags).each do |flag| - if checking_for "whether #{flag} is accepted as CFLAGS" { + if checking_for("whether #{flag} is accepted as CFLAGS") { try_cflags(flag, *opts) } $CFLAGS << " " << flag @@ -659,7 +659,7 @@ MSG def append_ldflags(flags, *opts) Array(flags).each do |flag| - if checking_for "whether #{flag} is accepted as LDFLAGS" { + if checking_for("whether #{flag} is accepted as LDFLAGS") { try_ldflags(flag, *opts) } $LDFLAGS << " " << flag -- cgit v1.2.3