diff options
author | Jeffrey Walton <noloader@gmail.com> | 2017-09-09 18:44:08 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2017-09-09 18:44:08 -0400 |
commit | 66c84a9af4d40efed701ff706fbe61364b4ab4fc (patch) | |
tree | 41f212315243e57c2630e209d247cb5efc29848b /TestScripts | |
parent | ba569b55cab52881a4f9c10c97d9ed670a571e45 (diff) | |
download | cryptopp-git-66c84a9af4d40efed701ff706fbe61364b4ab4fc.tar.gz |
Fix failed feature detections under IBM XL C/C++ compiler
Diffstat (limited to 'TestScripts')
-rwxr-xr-x | TestScripts/cryptest.sh | 17 |
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 |