mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/openssl/extconf.rb: add -Wall flag by default when compiler is
GCC. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e15e5251c3
commit
4fe2dacee7
2 changed files with 12 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
|||
Thu Oct 27 08:38:41 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>
|
||||
|
||||
* ext/openssl/extconf.rb: add -Wall flag by default when compiler is
|
||||
GCC.
|
||||
|
||||
Wed Oct 26 15:24:25 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* file.c (rb_file_join): honor input encodings than ASCII-8BIT.
|
||||
|
|
|
@ -22,15 +22,18 @@ dir_config("kerberos")
|
|||
message "=== OpenSSL for Ruby configurator ===\n"
|
||||
|
||||
##
|
||||
# Adds -Wall -DOSSL_DEBUG for compilation and some more targets when GCC is used
|
||||
# Adds -DOSSL_DEBUG for compilation and some more targets when GCC is used
|
||||
# To turn it on, use: --with-debug or --enable-debug
|
||||
#
|
||||
if with_config("debug") or enable_config("debug")
|
||||
$defs.push("-DOSSL_DEBUG") unless $defs.include? "-DOSSL_DEBUG"
|
||||
end
|
||||
|
||||
if CONFIG['GCC'] == 'yes'
|
||||
$CPPFLAGS += " -Wall" unless $CPPFLAGS.split.include? "-Wall"
|
||||
end
|
||||
##
|
||||
# Automatically adds -Wall flag for compilation when GCC is used
|
||||
#
|
||||
if CONFIG['GCC'] == 'yes'
|
||||
$CPPFLAGS += " -Wall" unless $CPPFLAGS.split.include? "-Wall"
|
||||
end
|
||||
|
||||
message "=== Checking for system dependent stuff... ===\n"
|
||||
|
|
Loading…
Reference in a new issue