mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* configure.in (--no-undefined): r33840 breaks FreeBSD and DragonFly
with gcc 4.4 or later. Their 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@33856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b361c5adec
commit
7d11b9e289
2 changed files with 4 additions and 4 deletions
|
|
@ -1,8 +1,8 @@
|
||||||
Sun Nov 27 04:57:11 2011 NARUSE, Yui <naruse@ruby-lang.org>
|
Sun Nov 27 04:57:11 2011 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
* configure.in (--no-undefined): r33840 breaks FreeBSD with gcc47.
|
* configure.in (--no-undefined): r33840 breaks FreeBSD and DragonFly
|
||||||
FreeBSD's environ is in /usr/libexec/ld-elf.so.1, so it will be
|
with gcc 4.4 or later. Their environ is in /usr/libexec/ld-elf.so.1,
|
||||||
false negative.
|
so it will be false negative.
|
||||||
|
|
||||||
Sun Nov 27 04:55:45 2011 NARUSE, Yui <naruse@ruby-lang.org>
|
Sun Nov 27 04:55:45 2011 NARUSE, Yui <naruse@ruby-lang.org>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2268,7 +2268,7 @@ AS_CASE("$enable_shared", [yes], [
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AS_CASE(["$target_os"],
|
AS_CASE(["$target_os"],
|
||||||
[freebsd*], ,
|
[freebsd*|dragonfly*], [],
|
||||||
[
|
[
|
||||||
if test "$GCC" = yes; then
|
if test "$GCC" = yes; then
|
||||||
RUBY_TRY_LDFLAGS([-Xlinker --no-undefined], RUBY_APPEND_OPTION(EXTLDFLAGS, [-Xlinker --no-undefined]))
|
RUBY_TRY_LDFLAGS([-Xlinker --no-undefined], RUBY_APPEND_OPTION(EXTLDFLAGS, [-Xlinker --no-undefined]))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue