summaryrefslogtreecommitdiff
path: root/TestScripts
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2017-09-09 18:44:08 -0400
committerJeffrey Walton <noloader@gmail.com>2017-09-09 18:44:08 -0400
commit66c84a9af4d40efed701ff706fbe61364b4ab4fc (patch)
tree41f212315243e57c2630e209d247cb5efc29848b /TestScripts
parentba569b55cab52881a4f9c10c97d9ed670a571e45 (diff)
downloadcryptopp-git-66c84a9af4d40efed701ff706fbe61364b4ab4fc.tar.gz
Fix failed feature detections under IBM XL C/C++ compiler
Diffstat (limited to 'TestScripts')
-rwxr-xr-xTestScripts/cryptest.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/TestScripts/cryptest.sh b/TestScripts/cryptest.sh
index 694bed8d..b3664573 100755
--- a/TestScripts/cryptest.sh
+++ b/TestScripts/cryptest.sh
@@ -699,6 +699,23 @@ if [[ (-z "$WANT_BENCHMARKS") ]]; then
WANT_BENCHMARKS=1
fi
+# IBM XL C/C++ compiler fixups. Not sure why it fails to return non-0 on failure...
+if [[ "$XLC_COMPILER" -ne "0" ]]; then
+ HAVE_CXX03=0
+ HAVE_GNU03=0
+ HAVE_CXX11=0
+ HAVE_GNU11=0
+ HAVE_CXX14=0
+ HAVE_GNU14=0
+ HAVE_CXX17=0
+ HAVE_GNU17=0
+ HAVE_OMP=0
+ HAVE_ASAN=0
+ HAVE_BSAN=0
+ HAVE_UBSAN=0
+ HAVE_LDGOLD=0
+fi
+
############################################
# System information