lib/systems: Prohibit "gnu" ABI (*-gnu) with 32-bit ARM

It is ambiguous, and therefore banned within GCC.
This commit is contained in:
John Ericson
2018-05-10 15:05:23 -04:00
parent 4ae207aea0
commit 58b2e875c2
2 changed files with 17 additions and 2 deletions
+7
View File
@@ -50,5 +50,12 @@ rec {
} // mapAttrs (n: v: v final.parsed) inspect.predicates
// args;
in assert final.useAndroidPrebuilt -> final.isAndroid;
assert lib.foldl
(pass: { assertion, message }:
if assertion final
then pass
else throw message)
true
(final.parsed.abi.assertions or []);
final;
}