diff options
| -rw-r--r-- | documentation/ref-manual/classes.rst | 8 | ||||
| -rw-r--r-- | documentation/ref-manual/variables.rst | 5 |
2 files changed, 11 insertions, 2 deletions
diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst index 9cd2db0d23..9bf7a3cacf 100644 --- a/documentation/ref-manual/classes.rst +++ b/documentation/ref-manual/classes.rst | |||
| @@ -309,8 +309,12 @@ file for details about how to enable this mechanism in your configuration | |||
| 309 | file, how to disable it for specific recipes, and how to share ``ccache`` | 309 | file, how to disable it for specific recipes, and how to share ``ccache`` |
| 310 | files between builds. | 310 | files between builds. |
| 311 | 311 | ||
| 312 | However, using the class can lead to unexpected side-effects. Thus, using | 312 | Recipes can also explicitly disable `Ccache` support even when the |
| 313 | this class is not recommended. | 313 | :ref:`ref-classes-ccache` class is enabled, by setting the |
| 314 | :term:`CCACHE_DISABLE` variable to "1". | ||
| 315 | |||
| 316 | Using the :ref:`ref-classes-ccache` class can lead to unexpected side-effects. | ||
| 317 | Using this class is not recommended. | ||
| 314 | 318 | ||
| 315 | .. _ref-classes-chrpath: | 319 | .. _ref-classes-chrpath: |
| 316 | 320 | ||
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 69d75af558..ec40b3e6fc 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst | |||
| @@ -1097,6 +1097,11 @@ system and gives an overview of their function and contents. | |||
| 1097 | :term:`CC` | 1097 | :term:`CC` |
| 1098 | The minimal command and arguments used to run the C compiler. | 1098 | The minimal command and arguments used to run the C compiler. |
| 1099 | 1099 | ||
| 1100 | :term:`CCACHE_DISABLE` | ||
| 1101 | When inheriting the :ref:`ref-classes-ccache` class, the | ||
| 1102 | :term:`CCACHE_DISABLE` variable can be set to "1" in a recipe to disable | ||
| 1103 | `Ccache` support. This is useful when the recipe is known to not support it. | ||
| 1104 | |||
| 1100 | :term:`CFLAGS` | 1105 | :term:`CFLAGS` |
| 1101 | Specifies the flags to pass to the C compiler. This variable is | 1106 | Specifies the flags to pass to the C compiler. This variable is |
| 1102 | exported to an environment variable and thus made visible to the | 1107 | exported to an environment variable and thus made visible to the |
