summaryrefslogtreecommitdiffstats
path: root/patches/source/coreutils/coreutils.wc.noavx2.diff
diff options
context:
space:
mode:
Diffstat (limited to 'patches/source/coreutils/coreutils.wc.noavx2.diff')
-rw-r--r--patches/source/coreutils/coreutils.wc.noavx2.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/patches/source/coreutils/coreutils.wc.noavx2.diff b/patches/source/coreutils/coreutils.wc.noavx2.diff
new file mode 100644
index 000000000..ccae18bb8
--- /dev/null
+++ b/patches/source/coreutils/coreutils.wc.noavx2.diff
@@ -0,0 +1,11 @@
+--- ./src/wc.c.orig 2023-08-29 06:39:27.000000000 -0500
++++ ./src/wc.c 2023-08-29 13:24:53.642035314 -0500
+@@ -147,7 +147,7 @@
+ static bool
+ avx2_supported (void)
+ {
+- bool avx_enabled = 0 < __builtin_cpu_supports ("avx2");
++ bool avx_enabled = 0;
+
+ if (debug)
+ error (0, 0, (avx_enabled