Guard use of '-march=native' in test script
parent
f9ee4e2dab
commit
2ac9ea1253
|
|
@ -4707,7 +4707,10 @@ if [[ ("$HAVE_X86_AES" -ne "0" || "$HAVE_X86_RDRAND" -ne "0" || "$HAVE_X86_RDSEE
|
||||||
echo "Testing: AES, RDRAND and RDSEED" | tee -a "$TEST_RESULTS"
|
echo "Testing: AES, RDRAND and RDSEED" | tee -a "$TEST_RESULTS"
|
||||||
echo
|
echo
|
||||||
|
|
||||||
|
OPTS=()
|
||||||
|
if [[ ("$GCC_COMPILER" -ne "0") ]]; thn
|
||||||
OPTS=("-march=native")
|
OPTS=("-march=native")
|
||||||
|
fi
|
||||||
if [[ "$HAVE_X86_AES" -ne "0" ]]; then
|
if [[ "$HAVE_X86_AES" -ne "0" ]]; then
|
||||||
OPTS+=("-maes")
|
OPTS+=("-maes")
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue