From 9750998d2ce663d5f06ff401bb44f7e610cd0060 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Sun, 19 Jun 2016 12:47:38 -0400 Subject: [PATCH] Fix Solaris GCC test using -x02 rather than -O2 --- cryptest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cryptest.sh b/cryptest.sh index 5de8e4db..b20c99ff 100755 --- a/cryptest.sh +++ b/cryptest.sh @@ -2317,7 +2317,7 @@ if [[ "$IS_SOLARIS" -ne "0" ]]; then "$MAKE" clean > /dev/null 2>&1 rm -f adhoc.cpp > /dev/null 2>&1 - export CXXFLAGS="-DNDEBUG -g2 -xO2" + export CXXFLAGS="-DNDEBUG -g2 -O2" "$MAKE" "${MAKEARGS[@]}" CXX="/bin/g++" static dynamic cryptest.exe 2>&1 | tee -a "$TEST_RESULTS" if [[ ("${PIPESTATUS[0]}" -ne "0") ]]; then