diff options
Diffstat (limited to 'arch/x86/Makefile.um')
-rw-r--r-- | arch/x86/Makefile.um | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/Makefile.um b/arch/x86/Makefile.um index 2106a2bd15..a46b1397ad 100644 --- a/arch/x86/Makefile.um +++ b/arch/x86/Makefile.um @@ -9,6 +9,7 @@ core-y += arch/x86/crypto/ # ifeq ($(CONFIG_CC_IS_CLANG),y) KBUILD_CFLAGS += -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx +KBUILD_RUSTFLAGS += --target=$(objtree)/scripts/target.json KBUILD_RUSTFLAGS += -Ctarget-feature=-sse,-sse2,-sse3,-ssse3,-sse4.1,-sse4.2,-avx,-avx2 endif |