Relax rule on gcc-runtime

It might happen that gcc-runtime is just a dep
of another runtime, and not used as a compiler.
This commit is contained in:
Massimiliano Culpo 2025-02-19 19:20:01 +01:00
parent 229945ed27
commit 626c5c59c6
No known key found for this signature in database
GPG Key ID: 3E52BB992233066C

View File

@ -1319,6 +1319,7 @@ has_built_packages() :- build(X), not external(X).
% The "gcc" linked to "gcc-runtime" must be used by at least another package
:- attr("depends_on", node(X, "gcc-runtime"), node(Y, "gcc"), "build"),
node_compiler(_, node(_, "gcc")),
not 2 { attr("depends_on", PackageNode, node(Y, "gcc"), "build") : attr("node", PackageNode) }.