mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2024-11-23 09:59:42 +00:00
Removed workarounds for compilers that responded to Asan and UBsan flags
This commit is contained in:
parent
82d8c4a8b5
commit
db9e7ec819
@ -13,7 +13,6 @@ USING_NAMESPACE(CryptoPP)
|
||||
USING_NAMESPACE(std)
|
||||
|
||||
// Used for testing the compiler and linker in cryptest.sh
|
||||
|
||||
#if defined(CRYPTOPP_ADHOC_MAIN)
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
@ -35,4 +34,4 @@ int MyAdhocTest(int argc, char *argv[])
|
||||
|
||||
static int s_i = (AdhocTest = &MyAdhocTest, 0);
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
@ -112,12 +112,6 @@ else
|
||||
HAVE_ASAN=0
|
||||
fi
|
||||
|
||||
# Fixups... Cygwin and MinGW both advertise sanitizer support, but the program fails to link.
|
||||
if [ "$HAVE_UBSAN" -eq "0" ] || [ "$HAVE_ASAN" -eq "0" ] || [ "$IS_CYGWIN" -ne "0" ] || [ "$IS_MINGW" -ne "0" ]; then
|
||||
HAVE_UBSAN=0
|
||||
HAVE_ASAN=0
|
||||
fi
|
||||
|
||||
# Set to 0 if you don't have Intel multiarch
|
||||
HAVE_INTEL_MULTIARCH=0
|
||||
if [ "$IS_DARWIN" -ne "0" ] && [ "$IS_X86" -ne "0" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user