Skip to content

Commit

Permalink
Accept "linux-androideabi" as an alias for Android
Browse files Browse the repository at this point in the history
Google uses `armv7-none-linux-androideabi`, analogous to
`armv7-unknown-linux-gnueabi` for e.g. a 32-bit regular linux.

The existing alias it not a mistake, it is the right one for 64 bit.
Google for that use `aarch64-linux-android`, analogous to
`aarch64-unknown-linux-android` for a 64-bi regular linux.

See https://developer.android.com/ndk/guides/standalone_toolchain for
evidence/details.
  • Loading branch information
Ericson2314 committed Oct 18, 2019
1 parent 21762b7 commit c1d0467
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cabal/Distribution/System.hs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ osAliases Permissive FreeBSD = ["kfreebsdgnu"]
osAliases Compat FreeBSD = ["kfreebsdgnu"]
osAliases Permissive Solaris = ["solaris2"]
osAliases Compat Solaris = ["solaris2"]
osAliases _ Android = ["linux-android"]
osAliases _ Android = ["linux-android", "linux-androideabi" ]
osAliases _ _ = []

instance Pretty OS where
Expand Down

0 comments on commit c1d0467

Please sign in to comment.