aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mkmf.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-04-11 02:01:57 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-04-11 02:01:57 +0000
commit335cd8ab6a8625efff924db52216fb94a3d04a08 (patch)
tree2c5b0af879ac1fd53ed3c1953e8b1f6bca9a1b62 /lib/mkmf.rb
parentbb96ab6fb6227b122a33cc8b56afb5c4198c9759 (diff)
downloadruby-335cd8ab6a8625efff924db52216fb94a3d04a08.tar.gz
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
Diffstat (limited to 'lib/mkmf.rb')
-rw-r--r--lib/mkmf.rb6
1 files changed, 3 insertions, 3 deletions
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