Check for CRC32 properly

Just being on ARMv8 does not mean CRC32 (and arm_acle.h) is available.

Task-number: QTBUG-53629
Change-Id: I104f643f2d59620e1f4d1ef814a1de71bb484e7b
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
bb10
Laszlo Agocs 2016-05-25 16:47:29 +02:00 committed by Jani Heikkinen
parent ad09530e34
commit 184b2ea4ea
1 changed files with 1 additions and 1 deletions

View File

@ -285,7 +285,7 @@
#endif
#endif
// AArch64/ARM64
#if defined(Q_PROCESSOR_ARM_V8)
#if defined(Q_PROCESSOR_ARM_V8) && defined(__ARM_FEATURE_CRC32)
#define QT_FUNCTION_TARGET_STRING_CRC32 "+crc"
# include <arm_acle.h>
#endif