Fix: Prevent system compiler version number to be added to the prefix.

This commit is contained in:
Christoph Niethammer 2011-07-10 21:12:27 +00:00
parent 3aaaa7cd0a
commit 765a60df24

2
sit
View file

@ -86,8 +86,10 @@ case $PLATFORM in
;;
esac
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}