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