From: Matteo Croce Date: Tue, 12 May 2020 19:48:56 +0000 (+0200) Subject: doc: fix LTO config option X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=9aef9b9fbc21531a127e082cd6cfa698d22d235f;p=dpdk.git doc: fix LTO config option 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") Cc: stable@dpdk.org Signed-off-by: Matteo Croce Reviewed-by: David Marchand Acked-by: Andrzej Ostruszka --- diff --git a/doc/guides/prog_guide/lto.rst b/doc/guides/prog_guide/lto.rst index 43f4c63379..277a6f1090 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.