mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
configure.in: Add warnflags for XL/C on AIX during configure
to avoid [Bug #3971]. See [ruby-core:32859] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1a876fb61e
commit
c6ef31c933
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
Thu Jun 30 21:18:35 2011 Yutaka Kanemoto <kanemoto@ruby-lang.org>
|
||||
|
||||
* configure.in: Add warnflags for XL/C on AIX during configure
|
||||
to avoid [Bug #3971]. See [ruby-core:32859]
|
||||
|
||||
Thu Jun 30 21:16:04 2011 Tadayoshi Funaba <tadf@dotrb.org>
|
||||
|
||||
* ext/date/date_core.c (m_ajd): refers a constant.
|
||||
|
|
|
@ -474,6 +474,9 @@ if test "$GCC:${warnflags+set}:no" = yes::no; then
|
|||
rb_cv_warnflags="$warnflags"
|
||||
warnflags=
|
||||
fi
|
||||
if test "$GCC" = ""; then
|
||||
AS_CASE(["$target_os"],[aix*],[warnflags="-qinfo=por"])
|
||||
fi
|
||||
if test "$GCC" = yes; then
|
||||
RUBY_TRY_CFLAGS(-fvisibility=hidden, [RUBY_APPEND_OPTION(XCFLAGS, -fvisibility=hidden)])
|
||||
AC_SUBST(WERRORFLAG, "-Werror")
|
||||
|
|
Loading…
Add table
Reference in a new issue