lib/systems: Add assertion to "android" ABI

This is analogous to the GNU assertion.
This commit is contained in:
John Ericson 2018-05-11 17:35:56 -04:00
parent f4de669777
commit 28bacc2093

View File

@ -199,8 +199,16 @@ rec {
msvc = {};
eabi = {};
androideabi = {};
android = {};
androideabi = { float = "hard"; };
android = {
assertions = [
{ assertion = platform: !platform.isAarch32;
message = ''
The "android" ABI is not for 32-bit ARM. Use "androideabi" instead.
'';
}
];
};
gnueabi = { float = "soft"; };
gnueabihf = { float = "hard"; };