[zlib] Fix TARGET_ARMV8_WITH_CRC
The Arm NEON code path is shared between AArch32 and AArch64. AArch64
additionally uses the AES extension (optional but almost always
implemented in processors).
For AArch64, "aes,crc" is invalid target attribute, rejected by GCC, and
might be rejected by newer Clang versions. Fix it.
For AArch32, the target attribute is not useful as TARGET_ARMV8_WITH_CRC
is only defined when +crc is enabled via -march=/-mcpu=.
Patch was originally authored by maskray@.
Bug: 346264234
Change-Id: I38a16a791f1dba84afe0e7dc650eb1901bc17201
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5646283
Reviewed-by: Adenilson Cavalcanti <cavalcantii@chromium.org>
Commit-Queue: Alan Zhao <ayzhao@google.com>
Cr-Commit-Position: refs/heads/main@{#1319458}
NOKEYCHECK=True
GitOrigin-RevId: 08925115cb0bea7ca6854b727eadf6e092b7be21
1 file changed