doc: fix LTO config option
authorMatteo Croce <mcroce@redhat.com>
Tue, 12 May 2020 19:48:56 +0000 (21:48 +0200)
committerDavid Marchand <david.marchand@redhat.com>
Mon, 18 May 2020 16:14:21 +0000 (18:14 +0200)
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 <mcroce@redhat.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
Acked-by: Andrzej Ostruszka <aostruszka@marvell.com>
doc/guides/prog_guide/lto.rst

index 43f4c63..277a6f1 100644 (file)
@@ -31,7 +31,7 @@ the whole DPDK by setting:
 
 .. code-block:: console
 
-    CONFIG_ENABLE_LTO=y
+    CONFIG_RTE_ENABLE_LTO=y
 
 in config file.