mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2025-02-12 08:11:05 +00:00
Fix failed feature detections under IBM XL C/C++ compiler
This commit is contained in:
parent
ba569b55ca
commit
66c84a9af4
@ -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
|
||||
|
||||
|
17
cryptest.sh
17
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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user