From 167d4ae1a596592d8e051a438ee02854172d3c37 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Fri, 26 May 2017 04:27:45 -0400 Subject: [PATCH] Updated test script --- TestScripts/cryptest.sh | 2 +- cryptest.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/TestScripts/cryptest.sh b/TestScripts/cryptest.sh index 4801641e..ec3f412b 100755 --- a/TestScripts/cryptest.sh +++ b/TestScripts/cryptest.sh @@ -1752,7 +1752,7 @@ if [[ ("$IS_FEDORA" -ne "0") ]]; then # https://kojipkgs.fedoraproject.org//packages/cryptopp/5.6.3/8.fc27/data/logs/x86_64/build.log if [[ ("$IS_X86" -ne "0") ]]; then MARCH_OPT=(-m32 -march=i686) - else + if [[ ("$IS_X64" -ne "0") ]]; then MARCH_OPT=(-m64 -mtune=generic) fi diff --git a/cryptest.sh b/cryptest.sh index 4801641e..ec3f412b 100755 --- a/cryptest.sh +++ b/cryptest.sh @@ -1752,7 +1752,7 @@ if [[ ("$IS_FEDORA" -ne "0") ]]; then # https://kojipkgs.fedoraproject.org//packages/cryptopp/5.6.3/8.fc27/data/logs/x86_64/build.log if [[ ("$IS_X86" -ne "0") ]]; then MARCH_OPT=(-m32 -march=i686) - else + if [[ ("$IS_X64" -ne "0") ]]; then MARCH_OPT=(-m64 -mtune=generic) fi