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
@ -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>
|
Thu Jun 30 21:16:04 2011 Tadayoshi Funaba <tadf@dotrb.org>
|
||||||
|
|
||||||
* ext/date/date_core.c (m_ajd): refers a constant.
|
* 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"
|
rb_cv_warnflags="$warnflags"
|
||||||
warnflags=
|
warnflags=
|
||||||
fi
|
fi
|
||||||
|
if test "$GCC" = ""; then
|
||||||
|
AS_CASE(["$target_os"],[aix*],[warnflags="-qinfo=por"])
|
||||||
|
fi
|
||||||
if test "$GCC" = yes; then
|
if test "$GCC" = yes; then
|
||||||
RUBY_TRY_CFLAGS(-fvisibility=hidden, [RUBY_APPEND_OPTION(XCFLAGS, -fvisibility=hidden)])
|
RUBY_TRY_CFLAGS(-fvisibility=hidden, [RUBY_APPEND_OPTION(XCFLAGS, -fvisibility=hidden)])
|
||||||
AC_SUBST(WERRORFLAG, "-Werror")
|
AC_SUBST(WERRORFLAG, "-Werror")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user