Skip to content

Commit

Permalink
configure: also LDFLAGS, not LDLAGS for proper restore
Browse files Browse the repository at this point in the history
  • Loading branch information
prajnoha committed Dec 4, 2013
1 parent 1592bb2 commit 28939db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion acinclude.m4
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down
2 changes: 1 addition & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -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
:
Expand Down

0 comments on commit 28939db

Please sign in to comment.