зеркало из https://github.com/github/ruby.git
* configure.in: use $linker_flag for LDFLAGS option which is not
limited to particular platforms. [ruby-core:41438] [Bug#5697] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
12697d5078
Коммит
6ec1902a2d
|
@ -1,3 +1,8 @@
|
|||
Fri Dec 2 11:30:34 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* configure.in: use $linker_flag for LDFLAGS option which is not
|
||||
limited to particular platforms. [ruby-core:41438] [Bug#5697]
|
||||
|
||||
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
|
||||
])
|
||||
|
@ -2441,7 +2441,7 @@ AS_CASE("$enable_shared", [yes], [
|
|||
# enable PIE if possible
|
||||
if test "$GCC" = yes; then
|
||||
RUBY_TRY_CFLAGS(-fPIE, [RUBY_APPEND_OPTION(XCFLAGS, -fPIE)
|
||||
RUBY_APPEND_OPTION(XLDFLAGS, -pie)])
|
||||
RUBY_APPEND_OPTION(XLDFLAGS, ${linker_flag}-pie)])
|
||||
fi
|
||||
])
|
||||
if test "$enable_rpath" = yes; then
|
||||
|
|
Загрузка…
Ссылка в новой задаче