Files
chromium-dev/ppc-fedora-0001-third-party-hwy-wrong-include.patch

12 lines
404 B
Diff
Raw Permalink Normal View History

2025-05-16 16:17:45 +02:00
--- a/third_party/highway/src/hwy/targets.cc
+++ b/third_party/highway/src/hwy/targets.cc
@@ -35,7 +35,7 @@
HWY_OS_LINUX
// sys/auxv.h does not always include asm/hwcap.h, or define HWCAP*, hence we
// still include this directly. See #1199.
-#ifndef TOOLCHAIN_MISS_ASM_HWCAP_H
+#if !defined(TOOLCHAIN_MISS_ASM_HWCAP_H) && !defined(HWY_ARCH_PPC)
#include <asm/hwcap.h>
#endif
#if HWY_HAVE_AUXV