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>
|
Fri Jan 7 21:57:22 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* misc/ruby-mode.el (ruby-mode-variables), misc/ruby-style.el:
|
* 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(" ") << " "
|
extconf_h = $extconf_h ? "-DRUBY_EXTCONF_H=\\\"$(RUBY_EXTCONF_H)\\\" " : $defs.join(" ") << " "
|
||||||
if warnflags = CONFIG['warnflags'] and CONFIG['GCC'] == 'yes' and !$extmk
|
if warnflags = CONFIG['warnflags'] and CONFIG['GCC'] == 'yes' and !$extmk
|
||||||
# turn warnings into errors only for bundled extensions.
|
# turn warnings into errors only for bundled extensions.
|
||||||
warnflags = warnflags.split.map { |flag|
|
warnflags = warnflags.gsub(/(\A|\s)-Werror=/, '\1-W')
|
||||||
flag.gsub(/(?:\A|\s)-Werror=/, '\1-W')
|
|
||||||
}.join ' '
|
|
||||||
end
|
end
|
||||||
mk << %{
|
mk << %{
|
||||||
CC = #{CONFIG['CC']}
|
CC = #{CONFIG['CC']}
|
||||||
|
|
Loading…
Add table
Reference in a new issue