commit - d67d077a711f21e722d969dc1bf7ab787042d70b
commit + 1dea0d91a0547fe5c0a9cb025b205cf1d9b1d3b8
blob - 6449a67cdbb5dd6da1342cda88f5a88a828ce910
blob + 201ed41f78f71195bb6fe60604d3480f5d08414f
--- contrib/platformtest.sh
+++ contrib/platformtest.sh
CC=$(grep "^CC = " Makefile | cut -d' ' -f3)
$CC --version 2>&1 | grep -i "GCC" >/dev/null
if [ $? -eq 0 ]; then
- COMPILER=$($CC --version | head -1 \
- | cut -d')' -f2 | cut -d' ' -f2)
- COMPILER="gcc $COMPILER"
+ $CC --version 2>&1 | grep -i "Open64" >/dev/null
+ if [ $? -eq 0 ]; then
+ COMPILER="Open64"
+ else
+ COMPILER=$($CC --version | head -1 \
+ | cut -d')' -f2 | cut -d' ' -f2)
+ COMPILER="gcc $COMPILER"
+ fi
else
case "$CC" in
gcc*)