Work around a Clang issue where the compiler defines __ARM_FEATURE_CRC32 even though the crc32 instruction is unavailable. (flutter/engine#3010)

This commit is contained in:
Chinmay Garde
2016-09-08 11:01:09 -07:00
committed by GitHub
parent 0373f4a3b3
commit 32da110110

View File

@@ -220,6 +220,9 @@ config("skia_library_config") {
cflags = [
# Skia uses routines deprecated in iOS 7 and above
"-Wno-deprecated-declarations",
# Clang incorrectly defines this even though the crc32 instruction is
# unavailable https://github.com/lionheart/openradar-mirror/issues/7653
"-U__ARM_FEATURE_CRC32",
]
libs = [ "ImageIO.framework" ]