From 28939dba09fcd36cd0e4e470e73b172f19dd45e8 Mon Sep 17 00:00:00 2001 From: Peter Rajnoha Date: Wed, 4 Dec 2013 14:58:40 +0100 Subject: [PATCH] configure: also LDFLAGS, not LDLAGS for proper restore --- acinclude.m4 | 2 +- configure | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/acinclude.m4 b/acinclude.m4 index b9473db17..601ae9dea 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -49,7 +49,7 @@ AC_DEFUN([AC_TRY_LDFLAGS], [AC_LINK_IFELSE([AC_LANG_PROGRAM()], [AS_VAR_SET([ac_cv_flag_$2], [yes])], [AS_VAR_SET([ac_cv_flag_$2], [no])])]) - LDLAGS=$ac_save_LDFLAGS + LDFLAGS=$ac_save_LDFLAGS $2=AS_VAR_GET([ac_cv_flag_$2]) if test "$2" = yes; then ifelse([$3], [], [:], [$3]) diff --git a/configure b/configure index 2ecc7baed..ff7185d17 100755 --- a/configure +++ b/configure @@ -6812,7 +6812,7 @@ rm -f core conftest.err conftest.$ac_objext \ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_flag_HAVE_FULL_RELRO" >&5 $as_echo "$ac_cv_flag_HAVE_FULL_RELRO" >&6; } - LDLAGS=$ac_save_LDFLAGS + LDFLAGS=$ac_save_LDFLAGS HAVE_FULL_RELRO=$ac_cv_flag_HAVE_FULL_RELRO if test "HAVE_FULL_RELRO" = yes; then :