Commit 43e96ef8 authored by Michael Ellerman's avatar Michael Ellerman Committed by Jonathan Corbet
Browse files

docs/core-api: Add Fedora instructions for GCC plugins



Add an example of how to install the necessary packages for GCC
plugins on Fedora.

Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Reviewed-by: default avatarKees Cook <keescook@chromium.org>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent e2c79ab7
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -72,6 +72,10 @@ e.g., on Ubuntu for gcc-4.9::

	apt-get install gcc-4.9-plugin-dev

Or on Fedora::

	dnf install gcc-plugin-devel

Enable a GCC plugin based feature in the kernel config::

	CONFIG_GCC_PLUGIN_CYC_COMPLEXITY = y