Skip to content

Conversation

@jnavarrom
Copy link
Contributor

@jnavarrom jnavarrom commented Sep 13, 2022

I am not sure if this is the correct way to fix the compilation issue #1074, but this works for me.

CRC instructions are enabled by default on ARMv8, but I don't know why it doesn't work when building for arm64, so I have added mcrc to IOS_CXXFLAGS if the CPU is arm64

-m[no-]crc
Enable or disable CRC instructions.

This option is used to indicate whether CRC instructions are to be generated. This only applies to the ARM architecture.

CRC instructions are enabled by default on ARMv8.

https://clang.llvm.org/docs/UsersManual.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant