Removed workarounds for compilers that responded to Asan and UBsan flags
parent
82d8c4a8b5
commit
db9e7ec819
|
|
@ -13,7 +13,6 @@ USING_NAMESPACE(CryptoPP)
|
||||||
USING_NAMESPACE(std)
|
USING_NAMESPACE(std)
|
||||||
|
|
||||||
// Used for testing the compiler and linker in cryptest.sh
|
// Used for testing the compiler and linker in cryptest.sh
|
||||||
|
|
||||||
#if defined(CRYPTOPP_ADHOC_MAIN)
|
#if defined(CRYPTOPP_ADHOC_MAIN)
|
||||||
|
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
|
|
@ -35,4 +34,4 @@ int MyAdhocTest(int argc, char *argv[])
|
||||||
|
|
||||||
static int s_i = (AdhocTest = &MyAdhocTest, 0);
|
static int s_i = (AdhocTest = &MyAdhocTest, 0);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -112,12 +112,6 @@ else
|
||||||
HAVE_ASAN=0
|
HAVE_ASAN=0
|
||||||
fi
|
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
|
# Set to 0 if you don't have Intel multiarch
|
||||||
HAVE_INTEL_MULTIARCH=0
|
HAVE_INTEL_MULTIARCH=0
|
||||||
if [ "$IS_DARWIN" -ne "0" ] && [ "$IS_X86" -ne "0" ]; then
|
if [ "$IS_DARWIN" -ne "0" ] && [ "$IS_X86" -ne "0" ]; then
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue