mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/mkmf.rb (configuration): backref needs to capture.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
64d04c7f08
commit
35f78ac1f8
2 changed files with 5 additions and 3 deletions
|
@ -1,3 +1,7 @@
|
|||
Fri Jan 7 23:07:40 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* lib/mkmf.rb (configuration): backref needs to capture.
|
||||
|
||||
Fri Jan 7 21:57:22 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* misc/ruby-mode.el (ruby-mode-variables), misc/ruby-style.el:
|
||||
|
|
|
@ -1660,9 +1660,7 @@ VPATH = #{vpath.join(CONFIG['PATH_SEPARATOR'])}
|
|||
extconf_h = $extconf_h ? "-DRUBY_EXTCONF_H=\\\"$(RUBY_EXTCONF_H)\\\" " : $defs.join(" ") << " "
|
||||
if warnflags = CONFIG['warnflags'] and CONFIG['GCC'] == 'yes' and !$extmk
|
||||
# turn warnings into errors only for bundled extensions.
|
||||
warnflags = warnflags.split.map { |flag|
|
||||
flag.gsub(/(?:\A|\s)-Werror=/, '\1-W')
|
||||
}.join ' '
|
||||
warnflags = warnflags.gsub(/(\A|\s)-Werror=/, '\1-W')
|
||||
end
|
||||
mk << %{
|
||||
CC = #{CONFIG['CC']}
|
||||
|
|
Loading…
Reference in a new issue