mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* configure.in: revert r36071 and add NetBSD to blacklist of -ansi.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e901d2ce2c
commit
e9e603145f
2 changed files with 8 additions and 4 deletions
|
@ -1,3 +1,7 @@
|
|||
Thu Jun 14 10:16:07 2012 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* configure.in: revert r36071 and add NetBSD to blacklist of -ansi.
|
||||
|
||||
Thu Jun 14 07:59:12 2012 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* thread_pthread.c (get_stack): Linux is the only OS which includes
|
||||
|
|
|
@ -617,14 +617,14 @@ if test "$GCC" = yes; then
|
|||
# comments. We bypass ANSI C mode for them. Otherwise
|
||||
# extension libs cannot include those headers.
|
||||
],
|
||||
[cygwin*|darwin*], [
|
||||
[cygwin*|darwin*|netbsd*], [
|
||||
# need lgamma_r(), finite()
|
||||
],
|
||||
[
|
||||
# ANSI (no XCFLAGS because this is C only)
|
||||
RUBY_TRY_CFLAGS(-ansi -std=iso9899:199409 -fbuiltin, [
|
||||
RUBY_APPEND_OPTION(warnflags, -ansi -std=iso9899:199409 -fbuiltin)
|
||||
RUBY_APPEND_OPTION(rb_cv_warnflags, -ansi -std=iso9899:199409 -fbuiltin)
|
||||
RUBY_TRY_CFLAGS(-ansi -std=iso9899:199409, [
|
||||
RUBY_APPEND_OPTION(warnflags, -ansi -std=iso9899:199409)
|
||||
RUBY_APPEND_OPTION(rb_cv_warnflags, -ansi -std=iso9899:199409)
|
||||
])
|
||||
])
|
||||
|
||||
|
|
Loading…
Reference in a new issue