Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dkrz-sw
sct
Commits
a1bedf14
Commit
a1bedf14
authored
May 02, 2018
by
Hendryk Bockelmann
☕
Browse files
bug fix reported by Sergey Kosukhin for cc_opts handling
parent
d7a3bd8b
Changes
1
Hide whitespace changes
Inline
Side-by-side
m4/ax_prog_cc_mpi.m4
View file @
a1bedf14
...
...
@@ -172,9 +172,10 @@ AC_DEFUN_ONCE([_AX_PROG_CC_MPI], [
AC_MSG_WARN([using CC=$CC as MPICC compiler.])
MPICC="$CC"
elif test -n "$CC" && test -n "$MPICC"; then
AC_MSG_WARN([overwriting CC=$MPICC. was former '$CC'])
dnl extract found options from CC if overriden by MPICC
cc_opts=${CC##* }
cc_opts="$CC "
cc_opts=${cc_opts#* }
AC_MSG_WARN([overwriting CC='$MPICC $cc_opts'. was CC='$CC' ; MPICC='$MPICC'])
CC="$MPICC $cc_opts"
fi
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment