Skip to content

Commit

Permalink
Fix typo in LDFLAGS_save_xcode variable name
Browse files Browse the repository at this point in the history
resulted in effectively overriding LDFLAGS='' on mac
because save and restore variable named did not match

Signed-off-by: Min RK <benjaminrk@gmail.com>
  • Loading branch information
minrk committed Jul 29, 2024
1 parent b4390af commit 5d6026e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/ompi_setup_fc.m4
Original file line number Diff line number Diff line change
Expand Up @@ -210,13 +210,13 @@ end program
LIBS=$LIBS_save_xcode

AS_IF([test $xcode_happy -eq 1],
[ # Restore LDFLAFGS + the new flags (i.e., get rid of the
[ # Restore LDFLAGS + 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
Expand Down

0 comments on commit 5d6026e

Please sign in to comment.