ruby-changes:23615
From: nobu <ko1@a...>
Date: Wed, 16 May 2012 18:06:09 +0900 (JST)
Subject: [ruby-changes:23615] nobu:r35666 (trunk): * configure.in (PIE): fix operator.
nobu 2012-05-16 18:05:59 +0900 (Wed, 16 May 2012) New Revision: 35666 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=35666 Log: * configure.in (PIE): fix operator. Modified files: trunk/configure.in Index: configure.in =================================================================== --- configure.in (revision 35665) +++ configure.in (revision 35666) @@ -2516,7 +2516,7 @@ LIBRUBYARG_SHARED= # enable PIE if possible - if test "$GCC" = yes and -z "$EXTSTATIC"; then + if test "$GCC" = yes -a -z "$EXTSTATIC"; then RUBY_TRY_CFLAGS(-fPIE, [pie=yes], [pie=no]) if test "$pie" = yes; then RUBY_APPEND_OPTION(XCFLAGS, -fPIE) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/