From 9aef9b9fbc21531a127e082cd6cfa698d22d235f Mon Sep 17 00:00:00 2001 From: Matteo Croce Date: Tue, 12 May 2020 21:48:56 +0200 Subject: [PATCH] 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 --- 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 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. -- 2.20.1