Skip to content

Commit

Permalink
Add requested linker flags
Browse files Browse the repository at this point in the history
  • Loading branch information
milljm committed Sep 18, 2024
1 parent 838116c commit 6521d79
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion conda/mpi/base_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,13 @@ function baked_flags()
export CPPFLAGS=\${b_CPPFLAGS}
export CFLAGS=\${b_CFLAGS}
export FFLAGS=\${b_FFLAGS}
export LDFLAGS=\${b_LDFLAGS}
# specific OS linker flags
LDFLAGS=\${b_LDFLAGS}
if [[ "\$(uname)" == 'Darwin' ]]; then
LDFLAGS+=" -Wl,-ld_classic -Wl,-commons,use_dylibs"
fi
export LDFLAGS
}
export CC=mpicc \
Expand Down

0 comments on commit 6521d79

Please sign in to comment.