From 7d11b9e2892df8e3936a2079bb101b2b27111937 Mon Sep 17 00:00:00 2001 From: naruse Date: Sat, 26 Nov 2011 22:49:28 +0000 Subject: [PATCH] * 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 --- ChangeLog | 6 +++--- configure.in | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 125dd45679..5f32df8ba9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,8 +1,8 @@ Sun Nov 27 04:57:11 2011 NARUSE, Yui - * 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. + * 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. Sun Nov 27 04:55:45 2011 NARUSE, Yui diff --git a/configure.in b/configure.in index e051cb6cfe..ce4ea18a29 100644 --- a/configure.in +++ b/configure.in @@ -2268,7 +2268,7 @@ AS_CASE("$enable_shared", [yes], [ fi AS_CASE(["$target_os"], - [freebsd*], , + [freebsd*|dragonfly*], [], [ if test "$GCC" = yes; then RUBY_TRY_LDFLAGS([-Xlinker --no-undefined], RUBY_APPEND_OPTION(EXTLDFLAGS, [-Xlinker --no-undefined]))