зеркало из https://github.com/github/ruby.git
configure.in: no PIE on Haiku
* configure.in: Don't use PIE on Haiku because loader support is not enough. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
5d62cf1376
Коммит
d11ef850b2
|
@ -1,3 +1,8 @@
|
|||
Thu Sep 13 10:22:11 2012 Takashi Toyoshima <toyoshim@gmail.com>
|
||||
|
||||
* configure.in: Don't use PIE on Haiku because loader support is not
|
||||
enough.
|
||||
|
||||
Thu Sep 13 08:20:00 2012 Zachary Scott <zzak@ruby-lang.org>
|
||||
|
||||
* lib/shellwords.rb: Documentation for Shellwords.
|
||||
|
|
|
@ -2676,7 +2676,13 @@ AS_CASE("$enable_shared", [yes], [
|
|||
LIBRUBYARG_SHARED=
|
||||
|
||||
# enable PIE if possible
|
||||
if test "$GCC" = yes -a -z "$EXTSTATIC"; then
|
||||
pie=
|
||||
AS_CASE(["$target_os"],
|
||||
[haiku], [
|
||||
# gcc supports PIE, but doesn't work correctly in Haiku
|
||||
pie=no
|
||||
])
|
||||
if test "$GCC" = yes -a -z "$EXTSTATIC" -a "x$pie" != xno; then
|
||||
RUBY_TRY_CFLAGS(-fPIE, [pie=yes], [pie=no])
|
||||
if test "$pie" = yes; then
|
||||
RUBY_APPEND_OPTION(XCFLAGS, -fPIE)
|
||||
|
|
Загрузка…
Ссылка в новой задаче