Fix: Prevent system compiler version number to be added to the prefix.
This commit is contained in:
parent
3aaaa7cd0a
commit
765a60df24
1 changed files with 4 additions and 2 deletions
6
sit
6
sit
|
@ -86,8 +86,10 @@ case $PLATFORM in
|
|||
;;
|
||||
esac
|
||||
|
||||
# reevaluate compiler version
|
||||
COMPILER_VERSION=$(eval "$COMPILER_VERSION_CMD")
|
||||
if [ ! -z "${COMPILER}" ] ; then
|
||||
# reevaluate compiler version
|
||||
COMPILER_VERSION=$(eval "$COMPILER_VERSION_CMD")
|
||||
fi
|
||||
# make the compiler variables CC, CXX, FC and F77 available
|
||||
if [ ! -z "$COMPILER_OPTS" ] ; then
|
||||
export ${COMPILER_OPTS}
|
||||
|
|
Loading…
Reference in a new issue