projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86: Add straight-line-speculation mitigation
[platform/kernel/linux-rpi.git]
/
arch
/
x86
/
Makefile
diff --git
a/arch/x86/Makefile
b/arch/x86/Makefile
index
7488cfb
..
3002278
100644
(file)
--- a/
arch/x86/Makefile
+++ b/
arch/x86/Makefile
@@
-179,6
+179,10
@@
ifdef CONFIG_RETPOLINE
endif
endif
+ifdef CONFIG_SLS
+ KBUILD_CFLAGS += -mharden-sls=all
+endif
+
KBUILD_LDFLAGS += -m elf_$(UTS_MACHINE)
ifdef CONFIG_LTO_CLANG