[dpdk-dev] [PATCH] doc: fix wrong config option

David Marchand david.marchand at redhat.com
Wed May 13 15:01:47 CEST 2020


On Tue, May 12, 2020 at 9:49 PM Matteo Croce <mcroce at redhat.com> wrote:
>
> 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 at dpdk.org

> Signed-off-by: Matteo Croce <mcroce at 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.
>

Reviewed-by: David Marchand <david.marchand at redhat.com>

-- 
David Marchand



More information about the dev mailing list