ruby-changes:32391
From: nobu <ko1@a...>
Date: Tue, 31 Dec 2013 18:32:50 +0900 (JST)
Subject: [ruby-changes:32391] nobu:r44470 (trunk): mkmf.rb: fix for 1.8 baseruby
nobu 2013-12-31 18:32:38 +0900 (Tue, 31 Dec 2013) New Revision: 44470 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44470 Log: mkmf.rb: fix for 1.8 baseruby * lib/mkmf.rb (init_mkmf): fix for 1.8 baseruby. RbConfig of 1.8 did not have CXXFLAGS. Modified files: trunk/lib/mkmf.rb Index: lib/mkmf.rb =================================================================== --- lib/mkmf.rb (revision 44469) +++ lib/mkmf.rb (revision 44470) @@ -2398,7 +2398,7 @@ site-install-rb: install-rb https://github.com/ruby/ruby/blob/trunk/lib/mkmf.rb#L2398 $warnflags = config['warnflags'] unless $extmk end $CFLAGS = with_config("cflags", arg_config("CFLAGS", config["CFLAGS"])).dup - $CXXFLAGS = with_config("cxxflags", arg_config("CXXFLAGS", config["CXXFLAGS"])).dup + $CXXFLAGS = (with_config("cxxflags", arg_config("CXXFLAGS", config["CXXFLAGS"]))||'').dup $ARCH_FLAG = with_config("arch_flag", arg_config("ARCH_FLAG", config["ARCH_FLAG"])).dup $CPPFLAGS = with_config("cppflags", arg_config("CPPFLAGS", config["CPPFLAGS"])).dup $LDFLAGS = with_config("ldflags", arg_config("LDFLAGS", config["LDFLAGS"])).dup -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/