From 738c3034610be758d9758398846f9ff7eea2a4a8 Mon Sep 17 00:00:00 2001 From: kanemoto Date: Wed, 26 Mar 2014 00:13:36 +0000 Subject: [PATCH] add --disable-pie option to configure git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ configure.in | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index fb6d70b648..8bb3e5b31d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Wed Mar 26 09:07:48 2014 Yutaka Kanemoto + + * configure.in: add --disable-pie. + Wed Mar 26 08:47:04 2014 NARUSE, Yui * addr2line.c (fill_lines): don't run fill_lines multiple times. diff --git a/configure.in b/configure.in index 55dea5123e..3845f05c7c 100644 --- a/configure.in +++ b/configure.in @@ -3275,7 +3275,9 @@ AS_CASE("$enable_shared", [yes], [ LIBRUBYARG_SHARED= # enable PIE if possible - pie= + AC_ARG_ENABLE(pie, + AS_HELP_STRING([--disable-pie], [disable PIE feature]), + [pie=$enableval], [pie=]) AS_CASE(["$target_os"], [haiku], [ # gcc supports PIE, but doesn't work correctly in Haiku