diff options
Diffstat (limited to 'rules/CC/RULES')
-rw-r--r-- | rules/CC/RULES | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/rules/CC/RULES b/rules/CC/RULES index c2c72020..099a629b 100644 --- a/rules/CC/RULES +++ b/rules/CC/RULES @@ -54,8 +54,9 @@ , "The artifacts and runfiles of the specified target will be propagated." , "The target defined by this rule does not propagate any provides data." ] - , "config_fields": ["os", "arch", "target_arch"] + , "config_fields": ["os", "arch", "target_arch", "compiler_family"] , "target_fields": ["target"] + , "config_vars": ["COMPILER_FAMILY"] , "field_doc": { "os": ["The operation system used for building."] , "arch": ["The architecture used for building."] @@ -63,6 +64,10 @@ [ "Non-mandatory target architecture to build for. If omitted, target" , "architecture is derived from \"arch\"." ] + , "compiler_family": + [ "Non-mandatory compiler family used for building. If omitted, compiler" + , "family is taken from variable \"COMPILER_FAMILY\"." + ] , "target": [ "The target to configure. Multiple targets are supported, but their" , "artifacts and runfiles should not conflict." |