Skip to content
This repository has been archived by the owner on Jun 10, 2021. It is now read-only.

[Android] Fixing the previous clang fix #17

Merged
merged 1 commit into from
Jan 4, 2019

Conversation

grendello
Copy link
Member

Turns out that +neon architecture extension is required (and accepted) only by
the (buggy) clang 3.x in NDK r14 while both gcc and clang > 3 error out when
they see +neon... So, the magic incantation contained in this commit appears
to work for all of them. Tested manually with clang 3.x, clang 7.x, gcc
7.x (aarch64 cross-compiler on Linux) and gcc 8.x (aarch64 cross-compiler on
Linux)

Turns out that `+neon` architecture extension is required (and accepted) only by
the (buggy) clang 3.x in NDK r14 while both gcc and clang > 3 error out when
they see `+neon`... So, the magic incantation contained in this commit *appears*
to work for all of them. Tested manually with clang 3.x, clang 7.x, gcc
7.x (aarch64 cross-compiler on Linux) and gcc 8.x (aarch64 cross-compiler on
Linux)
@grendello grendello merged commit 3d87996 into mono:mono Jan 4, 2019
@grendello grendello deleted the fix-android-ndk18 branch January 4, 2019 10:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants