aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mkmf.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-02-03 03:26:38 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-02-03 03:26:38 +0000
commit73cce16240e1d63a1eb9e1da9d6b3f92335b05ef (patch)
treebb5353fd8cc73746c85c9824622e7177e8808ada /lib/mkmf.rb
parent4b8df18e0d6ef54f93219eb34b7151a79810bafc (diff)
downloadruby-73cce16240e1d63a1eb9e1da9d6b3f92335b05ef.tar.gz
mkmf.rb: set cxxflags
* lib/mkmf.rb (configuration): set the default cxxflags, which is referred from the default CXXFLAGS, for extension libraries. [Fix GH-823] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/mkmf.rb')
-rw-r--r--lib/mkmf.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/mkmf.rb b/lib/mkmf.rb
index e7c466f6fe..e8750e4f9d 100644
--- a/lib/mkmf.rb
+++ b/lib/mkmf.rb
@@ -1928,6 +1928,7 @@ COUTFLAG = #{COUTFLAG}$(empty)
RUBY_EXTCONF_H = #{$extconf_h}
cflags = #{CONFIG['cflags']}
+cxxflags = #{CONFIG['cxxflags']}
optflags = #{CONFIG['optflags']}
debugflags = #{CONFIG['debugflags']}
warnflags = #{$warnflags}