projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2c79ab
)
docs/core-api: Add Fedora instructions for GCC plugins
author
Michael Ellerman
<mpe@ellerman.id.au>
Fri, 21 Feb 2020 00:48:43 +0000
(11:48 +1100)
committer
Jonathan Corbet
<corbet@lwn.net>
Tue, 25 Feb 2020 09:44:35 +0000
(
02:44
-0700)
Add an example of how to install the necessary packages for GCC
plugins on Fedora.
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/core-api/gcc-plugins.rst
patch
|
blob
|
history
diff --git
a/Documentation/core-api/gcc-plugins.rst
b/Documentation/core-api/gcc-plugins.rst
index
8502f24
..
4b1c10f
100644
(file)
--- a/
Documentation/core-api/gcc-plugins.rst
+++ b/
Documentation/core-api/gcc-plugins.rst
@@
-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