diff options
author | Paul Eggleton <paul.eggleton@microsoft.com> | 2022-10-10 14:05:29 +1300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-10-19 17:32:56 +0100 |
commit | 500d5bc5c9ef820b5465400571eb2a478074d58a (patch) | |
tree | 3c392acbe3f7b37f6214c59f13ddf420a5ecd043 /documentation | |
parent | 83495559d90e0bf396586af38294c0cb31caa19f (diff) | |
download | poky-500d5bc5c9ef820b5465400571eb2a478074d58a.tar.gz |
ref-manual: add DISABLE_STATIC
This was added all the way back in krogoth.
(From yocto-docs rev: 932870c5746718fb6ac3073bb4c79f4e085b089f)
Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/ref-manual/variables.rst | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 89c9618469..53079c4625 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst | |||
@@ -1812,6 +1812,18 @@ system and gives an overview of their function and contents. | |||
1812 | :term:`DESCRIPTION` takes the value of the :term:`SUMMARY` | 1812 | :term:`DESCRIPTION` takes the value of the :term:`SUMMARY` |
1813 | variable. | 1813 | variable. |
1814 | 1814 | ||
1815 | :term:`DISABLE_STATIC` | ||
1816 | Used in order to disable static linking by default (in order to save | ||
1817 | space, since static libraries are often unused in embedded systems.) | ||
1818 | The default value is " --disable-static", however it can be set to "" | ||
1819 | in order to enable static linking if desired. Certain recipes do this | ||
1820 | individually, and also there is a | ||
1821 | ``meta/conf/distro/include/no-static-libs.inc`` include file that | ||
1822 | disables static linking for a number of recipes. Some software | ||
1823 | packages or build tools (such as CMake) have explicit support for | ||
1824 | enabling / disabling static linking, and in those cases | ||
1825 | :term:`DISABLE_STATIC` is not used. | ||
1826 | |||
1815 | :term:`DISTRO` | 1827 | :term:`DISTRO` |
1816 | The short name of the distribution. For information on the long name | 1828 | The short name of the distribution. For information on the long name |
1817 | of the distribution, see the :term:`DISTRO_NAME` | 1829 | of the distribution, see the :term:`DISTRO_NAME` |