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 <[email protected]>
  • Loading branch information
minrk committed Jul 29, 2024
1 parent b4390af commit aea7c9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/ompi_setup_fc.m4
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aea7c9b

Please sign in to comment.