mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* configure.in (PIE): fix operator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a2976afa0e
commit
b85e3e70ee
1 changed files with 1 additions and 1 deletions
|
@ -2516,7 +2516,7 @@ AS_CASE("$enable_shared", [yes], [
|
|||
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)
|
||||
|
|
Loading…
Reference in a new issue