ruby-changes:51191
From: ngoto <ko1@a...>
Date: Sat, 12 May 2018 00:46:26 +0900 (JST)
Subject: [ruby-changes:51191] ngoto:r63398 (trunk): mkmf.rb: set cppflags
ngoto 2018-05-12 00:46:21 +0900 (Sat, 12 May 2018) New Revision: 63398 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63398 Log: mkmf.rb: set cppflags * ext/mkmf.rb (configuration): set the default cppflags, which is referred from the default CPPFLAGS, for extension libraries. This fixes build failure of ext/zlib on Solaris 10. [Bug #14746] [ruby-dev:50539] Modified files: trunk/lib/mkmf.rb Index: lib/mkmf.rb =================================================================== --- lib/mkmf.rb (revision 63397) +++ lib/mkmf.rb (revision 63398) @@ -1982,6 +1982,7 @@ cxxflags = #{CONFIG['cxxflags']} https://github.com/ruby/ruby/blob/trunk/lib/mkmf.rb#L1982 optflags = #{CONFIG['optflags']} debugflags = #{CONFIG['debugflags']} warnflags = #{$warnflags} +cppflags = #{CONFIG['cppflags']} CCDLFLAGS = #{$static ? '' : CONFIG['CCDLFLAGS']} CFLAGS = $(CCDLFLAGS) #$CFLAGS $(ARCH_FLAG) INCFLAGS = -I. #$INCFLAGS -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/