mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
configure: also LDFLAGS, not LDLAGS for proper restore
This commit is contained in:
parent
1592bb216e
commit
28939dba09
@ -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])
|
||||
|
2
configure
vendored
2
configure
vendored
@ -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
|
||||
:
|
||||
|
Loading…
Reference in New Issue
Block a user