ruby-changes:24905
From: nobu <ko1@a...>
Date: Thu, 13 Sep 2012 10:22:25 +0900 (JST)
Subject: [ruby-changes:24905] nobu:r36957 (trunk): configure.in: no PIE on Haiku
nobu 2012-09-13 10:22:13 +0900 (Thu, 13 Sep 2012) New Revision: 36957 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=36957 Log: configure.in: no PIE on Haiku * configure.in: Don't use PIE on Haiku because loader support is not enough. Modified files: trunk/ChangeLog trunk/configure.in Index: configure.in =================================================================== --- configure.in (revision 36956) +++ configure.in (revision 36957) @@ -2676,7 +2676,13 @@ 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) Index: ChangeLog =================================================================== --- ChangeLog (revision 36956) +++ ChangeLog (revision 36957) @@ -1,3 +1,8 @@ +Thu Sep 13 10:22:11 2012 Takashi Toyoshima <toyoshim@g...> + + * configure.in: Don't use PIE on Haiku because loader support is not + enough. + Thu Sep 13 08:20:00 2012 Zachary Scott <zzak@r...> * lib/shellwords.rb: Documentation for Shellwords. -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/