From aea7c9bb4f22a5bdaac5ec81bced5c4220d19f84 Mon Sep 17 00:00:00 2001 From: Min RK Date: Mon, 29 Jul 2024 12:50:59 +0200 Subject: [PATCH] Fix typo in LDFLAGS_save_xcode variable name resulted in effectively overriding LDFLAGS='' on mac because save and restore variable named did not match Signed-off-by: Min RK --- config/ompi_setup_fc.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/ompi_setup_fc.m4 b/config/ompi_setup_fc.m4 index 53c3cd96da5..c147bf2b608 100644 --- a/config/ompi_setup_fc.m4 +++ b/config/ompi_setup_fc.m4 @@ -212,11 +212,11 @@ end program AS_IF([test $xcode_happy -eq 1], [ # Restore LDFLAFGS + the new flags (i.e., get rid of the # "-L." we added for this test) - LDFLAGS="$LDFLAGS_xcode_save $1" + LDFLAGS="$LDFLAGS_save_xcode $1" $2], [ # If we failed the test, reset LDFLAGS back to its # original value. - LDFLAGS=$LDFLAGS_xcode_save + LDFLAGS=$LDFLAGS_save_xcode $3]) OPAL_VAR_SCOPE_POP