1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* configure.in (--no-undefined): r33840 breaks FreeBSD with gcc47.

FreeBSD's environ is in /usr/libexec/ld-elf.so.1, so it will be
  false negative.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2011-11-26 19:59:13 +00:00
parent b6b8cc01a5
commit 01a64885c3
2 changed files with 13 additions and 3 deletions

View file

@ -1,3 +1,9 @@
Sun Nov 27 04:57:11 2011 NARUSE, Yui <naruse@ruby-lang.org>
* configure.in (--no-undefined): r33840 breaks FreeBSD with gcc47.
FreeBSD's environ is in /usr/libexec/ld-elf.so.1, so it will be
false negative.
Sun Nov 27 04:55:45 2011 NARUSE, Yui <naruse@ruby-lang.org>
* lib/net/http.rb (Net::HTTP::SSL_IVNAMES): rerefix 33701.

View file

@ -2267,9 +2267,13 @@ AS_CASE("$enable_shared", [yes], [
SOLIBS='$(LIBS)'
fi
if test "$GCC" = yes; then
RUBY_TRY_LDFLAGS([-Xlinker --no-undefined], RUBY_APPEND_OPTION(EXTLDFLAGS, [-Xlinker --no-undefined]))
fi
AS_CASE(["$target_os"],
[freebsd*], ,
[
if test "$GCC" = yes; then
RUBY_TRY_LDFLAGS([-Xlinker --no-undefined], RUBY_APPEND_OPTION(EXTLDFLAGS, [-Xlinker --no-undefined]))
fi
])
AS_CASE(["$target_os"],
[sunos4*], [