Skip to content

Conversation

@JeodC
Copy link
Contributor

@JeodC JeodC commented Jun 1, 2025

According to documentation:
https://developer.arm.com/documentation/dui0774/l/Compiler-Command-line-Options/-mfpu
https://stackoverflow.com/questions/72319839/aarch64-gcc-equivalent-option-for-mfpu-neon

-mfpu is already set in aarch64 environments (with neon applied) and while GCC might ignore the option, clang outright errors and refuses to build. When using WSL chroot to build with both GCC and clang, -mcpu=native falls back to a generic aarch64 processor. When building on known processors like cortex-a57, (i.e. on a RPi itself) the switch should properly adapt.

Allows successful building for aarch64.

@sonicdcer sonicdcer merged commit 4d708de into HarbourMasters:main Jun 4, 2025
4 checks passed
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.

2 participants