mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* configure.in: use $linker_flag for LDFLAGS option which is not
limited to particular platforms. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9b69817ac0
commit
55cae88340
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
Fri Dec 2 15:18:18 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* configure.in: use $linker_flag for LDFLAGS option which is not
|
||||
limited to particular platforms.
|
||||
|
||||
Thu Dec 1 23:21:58 2011 CHIKANAGA Tomoyuki <nagachika00@gmail.com>
|
||||
|
||||
* thread_pthread.c (thread_timer): call prctl(PR_SET_NAME) only if
|
||||
|
|
|
@ -2346,9 +2346,9 @@ AS_CASE("$enable_shared", [yes], [
|
|||
[freebsd*|dragonfly*], [],
|
||||
[
|
||||
if test "$GCC" = yes; then
|
||||
RUBY_TRY_LDFLAGS([-Wl,--no-undefined], [no_undefined=yes], [no_undefined=no])
|
||||
RUBY_TRY_LDFLAGS([${linker_flag}--no-undefined], [no_undefined=yes], [no_undefined=no])
|
||||
if test "no_undefined" = yes; then
|
||||
RUBY_APPEND_OPTION(EXTLDFLAGS, [-Wl,--no-undefined])
|
||||
RUBY_APPEND_OPTION(EXTLDFLAGS, [${linker_flag}--no-undefined])
|
||||
fi
|
||||
fi
|
||||
])
|
||||
|
|
Loading…
Add table
Reference in a new issue