From 73cce16240e1d63a1eb9e1da9d6b3f92335b05ef Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 3 Feb 2015 03:26:38 +0000 Subject: 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 --- ChangeLog | 6 ++++++ lib/mkmf.rb | 1 + 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 43f22d94dd..cc7a64b250 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Tue Feb 3 12:26:35 2015 Katsuhiko Nishimra + + * lib/mkmf.rb (configuration): set the default cxxflags, which is + referred from the default CXXFLAGS, for extension libraries. + [Fix GH-823] + Tue Feb 3 05:52:00 2015 Aman Gupta * gc.c (rb_objspace_free): cause rb_bug if lazy sweep is in progress 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} -- cgit v1.2.3