summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorRajan Arora <rarora@redhat.com>2009-03-24 22:30:37 -0400
committerRajan Arora <rarora@redhat.com>2009-03-24 22:30:37 -0400
commite1e3ba36653db4b1dcd82e7cb3579776a6834de7 (patch)
treea9fa5ea05dc18d8bfdf7216e1ca4453594579147 /configure.ac
parentc87193cfb18258abbad947d009e6ca0bd2d5e0cf (diff)
downloadsystemtap-steved-e1e3ba36653db4b1dcd82e7cb3579776a6834de7.tar.gz
systemtap-steved-e1e3ba36653db4b1dcd82e7cb3579776a6834de7.tar.xz
systemtap-steved-e1e3ba36653db4b1dcd82e7cb3579776a6834de7.zip
PR 9922 fix, make --disable-pie the configure default
*configure.ac: Change the default to compiling without fPIE. *systemtap.spec: Add --enable-pie as the default option (set pie_supported to 1). *configure: Regenerated with autoconf 2.61.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 9d8dd7ae..f1546673 100644
--- a/configure.ac
+++ b/configure.ac
@@ -82,9 +82,10 @@ AS_IF([test "x$enable_ssp" != xno],[
CFLAGS="$save_CFLAGS"
CXXFLAGS="$save_CXXFLAGS"])])
+# Compiling without fPIE by default (see PR 9922)
AC_ARG_ENABLE([pie],
[AS_HELP_STRING([--disable-pie], [disable position-independent-executable])])
-AS_IF([test "x$enable_pie" != xno],[
+AS_IF([test "x$enable_pie" == xyes],[
save_CFLAGS="$CFLAGS"
save_CXXFLAGS="$CXXFLAGS"
save_LDFLAGS="$LDFLAGS"