diff options
author | Rajan Arora <rarora@redhat.com> | 2009-03-24 22:30:37 -0400 |
---|---|---|
committer | Rajan Arora <rarora@redhat.com> | 2009-03-24 22:30:37 -0400 |
commit | e1e3ba36653db4b1dcd82e7cb3579776a6834de7 (patch) | |
tree | a9fa5ea05dc18d8bfdf7216e1ca4453594579147 /systemtap.spec | |
parent | c87193cfb18258abbad947d009e6ca0bd2d5e0cf (diff) | |
download | systemtap-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 'systemtap.spec')
-rw-r--r-- | systemtap.spec | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/systemtap.spec b/systemtap.spec index 020cd001..e727b49c 100644 --- a/systemtap.spec +++ b/systemtap.spec @@ -3,6 +3,7 @@ %{!?with_crash: %define with_crash 0} %{!?with_bundled_elfutils: %define with_bundled_elfutils 0} %{!?elfutils_version: %define elfutils_version 0.127} +%{!?pie_supported: %define pie_supported 1} Name: systemtap Version: 0.9 @@ -175,9 +176,15 @@ cd .. %define docs_config --disable-docs %endif +# Enable pie as configure defaults to disabling it +%if %{pie_supported} +%define pie_config --enable-pie +%else +%define pie_config --disable-pie +%endif -%configure %{?elfutils_config} %{sqlite_config} %{crash_config} %{docs_config} +%configure %{?elfutils_config} %{sqlite_config} %{crash_config} %{docs_config} %{pie_config} make %{?_smp_mflags} %install |