Removed workarounds for compilers that responded to Asan and UBsan flags

This commit is contained in:
Jeffrey Walton 2016-02-02 13:57:44 -05:00
parent 82d8c4a8b5
commit db9e7ec819
2 changed files with 1 additions and 8 deletions

View File

@ -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

View File

@ -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