msys2 / MINGW-packages

Package scripts for MinGW-w64 targets to build under MSYS2.
https://packages.msys2.org
BSD 3-Clause "New" or "Revised" License
2.31k stars 1.23k forks source link

unicorn: do not use unsupported flags for aarch64 target #22419

Closed mmuetzel closed 3 weeks ago

mmuetzel commented 3 weeks ago

Assume that the target architecture is aarch64 if it is neither i686 nor x86_64.

This is probably not upstreamable. But it should be good enough for the architectures that are supported by MSYS2.

I can't test locally if this actually fixes the build issue for CLANGARM64.