diff options
author | sje <sje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-01-10 20:23:08 +0000 |
---|---|---|
committer | sje <sje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-01-10 20:23:08 +0000 |
commit | 3ba1a8b2026f109c4eb3586e69f644a9b61966a8 (patch) | |
tree | 41f946cb7d943560dc012197630ea909eb1b3c2c /gcc/configure | |
parent | c7cbde74ab6588e15c6bf29b8b80aac43583a926 (diff) | |
download | gcc-3ba1a8b2026f109c4eb3586e69f644a9b61966a8.tar.gz |
2010-01-10 Steve Ellcey <sje@cup.hp.com>
PR target/37454
* configure.ac: Save and restore LDFLAGS and LIBS
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155792 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/configure')
-rwxr-xr-x | gcc/configure | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/configure b/gcc/configure index 4a1fe5b75f2..c150ee0d9b3 100755 --- a/gcc/configure +++ b/gcc/configure @@ -25036,6 +25036,7 @@ $as_echo_n "checking for -rdynamic... " >&6; } fi # Check -ldl + saved_LIBS="$LIBS" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5 $as_echo_n "checking for library containing dlopen... " >&6; } if test "${ac_cv_search_dlopen+set}" = set; then : @@ -25095,8 +25096,10 @@ fi if test x"$ac_cv_search_dlopen" = x"-ldl"; then pluginlibs="$pluginlibs -ldl" fi + LIBS="$saved_LIBS" # Check that we can build shared objects with -fPIC -shared + saved_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS -fPIC -shared" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -fPIC -shared" >&5 $as_echo_n "checking for -fPIC -shared... " >&6; } @@ -25124,6 +25127,7 @@ rm -f core conftest.err conftest.$ac_objext \ pluginlibs= enable_plugin=no fi + LDFLAGS="$saved_LDFLAGS" # If plugin support had been requested but not available, fail. if test x"$enable_plugin" = x"no" ; then |