зеркало из https://github.com/github/ruby.git
* configure.in (GCC): subst for GCC depending extension libraries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
ffad7d737c
Коммит
a4fbd748e2
|
@ -1,3 +1,7 @@
|
|||
Sat Sep 12 17:31:42 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* configure.in (GCC): subst for GCC depending extension libraries.
|
||||
|
||||
Sat Sep 12 07:52:59 2009 Masaki Suketa <masaki.suketa@nifty.ne.jp>
|
||||
|
||||
* ext/win32ole/win32ole.c (EVENTSINK_Invoke): initialize result
|
||||
|
|
|
@ -262,6 +262,7 @@ fi
|
|||
AC_PROG_CC
|
||||
AC_PROG_CXX
|
||||
AC_PROG_GCC_TRADITIONAL
|
||||
AC_SUBST(GCC)
|
||||
if test "$GCC" = yes; then
|
||||
linker_flag=-Wl,
|
||||
: ${optflags=-O3}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
require 'mkmf'
|
||||
|
||||
if( RbConfig::CONFIG['CC'] =~ /gcc/ )
|
||||
if RbConfig::CONFIG['GCC'] == 'yes'
|
||||
$CFLAGS << " -fno-defer-pop -fno-omit-frame-pointer"
|
||||
end
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
require 'mkmf'
|
||||
require 'rbconfig'
|
||||
|
||||
if CONFIG['CC'] =~ /gcc/
|
||||
if CONFIG['GCC'] == 'yes'
|
||||
$CFLAGS += ' -Wall'
|
||||
#$CFLAGS += ' -O0 -ggdb'
|
||||
end
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
require 'mkmf'
|
||||
require 'rbconfig'
|
||||
|
||||
if CONFIG['CC'] =~ /gcc/
|
||||
if CONFIG['GCC'] == 'yes'
|
||||
$CFLAGS += ' -Wall'
|
||||
#$CFLAGS += ' -O0 -ggdb'
|
||||
end
|
||||
|
|
|
@ -28,7 +28,7 @@ message "=== OpenSSL for Ruby configurator ===\n"
|
|||
if with_config("debug") or enable_config("debug")
|
||||
$defs.push("-DOSSL_DEBUG") unless $defs.include? "-DOSSL_DEBUG"
|
||||
|
||||
if /gcc/ =~ CONFIG["CC"]
|
||||
if CONFIG['GCC'] == 'yes'
|
||||
$CPPFLAGS += " -Wall" unless $CPPFLAGS.split.include? "-Wall"
|
||||
end
|
||||
end
|
||||
|
|
Загрузка…
Ссылка в новой задаче