diff options
| author | Seth Forshee <[email protected]> | 2019-07-17 16:06:26 +0000 |
|---|---|---|
| committer | Masahiro Yamada <[email protected]> | 2019-07-20 02:20:24 +0000 |
| commit | 29be86d7f9cb18df4123f309ac7857570513e8bc (patch) | |
| tree | 60fdf871b68f29be66d9221d505e78f77f59ad93 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | kbuild: update compile-test header list for v5.3-rc1 (diff) | |
| download | kernel-29be86d7f9cb18df4123f309ac7857570513e8bc.tar.gz kernel-29be86d7f9cb18df4123f309ac7857570513e8bc.zip | |
kbuild: add -fcf-protection=none when using retpoline flags
The gcc -fcf-protection=branch option is not compatible with
-mindirect-branch=thunk-extern. The latter is used when
CONFIG_RETPOLINE is selected, and this will fail to build with
a gcc which has -fcf-protection=branch enabled by default. Adding
-fcf-protection=none when building with retpoline enabled
prevents such build failures.
Signed-off-by: Seth Forshee <[email protected]>
Signed-off-by: Masahiro Yamada <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
