diff options
author | Mark Wielaard <mjw@redhat.com> | 2009-01-21 23:23:51 +0100 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2009-01-21 23:23:51 +0100 |
commit | 5574ef2ce9549c89f91e9c8dccc41fc0e85a74d6 (patch) | |
tree | 055a41f5dc7fe17314721aed3537392608bdbda0 /configure | |
parent | 920ca5a654c7502efb64c355359e1fdeb5a13a13 (diff) | |
download | systemtap-steved-5574ef2ce9549c89f91e9c8dccc41fc0e85a74d6.tar.gz systemtap-steved-5574ef2ce9549c89f91e9c8dccc41fc0e85a74d6.tar.xz systemtap-steved-5574ef2ce9549c89f91e9c8dccc41fc0e85a74d6.zip |
Create PIECFLAGS and PIECXXFLAGS, like PIELDFLAGS.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -667,6 +667,8 @@ BUILD_CRASHMOD_FALSE BUILD_CRASHMOD_TRUE staplog_CPPFLAGS sqlite3_LIBS +PIECXXFLAGS +PIECFLAGS PIELDFLAGS RANLIB ANSI2KNR @@ -6196,8 +6198,12 @@ $as_echo "$ac_try_echo") >&5 $as_echo "$as_me: Compiling with gcc pie et al." >&6;} # LDFLAGS is special since it may be passed down to bundled-elfutils, # and interfere with the .so's built therein - PIELDFLAGS="$LDFLAGS -pie -Wl,-z,relro -Wl,-z,now" + PIELDFLAGS="$LDFLAGS" LDFLAGS="$save_LDFLAGS" + PIECFLAGS="$CFLAGS" + CFLAGS="$save_CFLAGS" + PIECXXFLAGS="$CXXFLAGS" + CXXFLAGS="$save_CXXFLAGS" else $as_echo "$as_me: failed program was:" >&5 @@ -6206,7 +6212,9 @@ sed 's/^/| /' conftest.$ac_ext >&5 { $as_echo "$as_me:$LINENO: Compiler does not support -pie et al." >&5 $as_echo "$as_me: Compiler does not support -pie et al." >&6;} + PIECFLAGS="" CFLAGS="$save_CFLAGS" + PIECXXFLAGS="" CXXFLAGS="$save_CXXFLAGS" PIELDFLAGS="" LDFLAGS="$save_LDFLAGS" @@ -6219,6 +6227,8 @@ fi + + # Check whether --enable-sqlite was given. if test "${enable_sqlite+set}" = set; then enableval=$enable_sqlite; |