2024-10-29 05:12:06 +03:00
|
|
|
--- a/arch/x86/Makefile
|
|
|
|
+++ b/arch/x86/Makefile
|
2024-12-10 06:44:25 +03:00
|
|
|
@@ -74,7 +74,7 @@ export BITS
|
2024-10-29 05:12:06 +03:00
|
|
|
#
|
|
|
|
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53383
|
|
|
|
#
|
|
|
|
-KBUILD_CFLAGS += -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -mno-avx2 -mno-avx512f
|
|
|
|
+KBUILD_CFLAGS += -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -mno-avx2 -mno-avx512f -fno-tree-vectorize
|
|
|
|
KBUILD_RUSTFLAGS += --target=$(objtree)/scripts/target.json
|
|
|
|
KBUILD_RUSTFLAGS += -Ctarget-feature=-sse,-sse2,-sse3,-ssse3,-sse4.1,-sse4.2,-avx,-avx2,-avx512f
|
|
|
|
|