The documentation says that CONFIG_ENABLE_LTO enables LTO during the build, but the correct value actually is CONFIG_RTE_ENABLE_LTO
Fixes: 098cc0fea3be ("build: add option to enable LTO") Signed-off-by: Matteo Croce <mcr...@redhat.com> --- doc/guides/prog_guide/lto.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/guides/prog_guide/lto.rst b/doc/guides/prog_guide/lto.rst index 43f4c6337..277a6f109 100644 --- a/doc/guides/prog_guide/lto.rst +++ b/doc/guides/prog_guide/lto.rst @@ -31,7 +31,7 @@ the whole DPDK by setting: .. code-block:: console - CONFIG_ENABLE_LTO=y + CONFIG_RTE_ENABLE_LTO=y in config file. -- 2.26.2