]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
Ubuntu 20.04 gcc does not define HWCAP2_SVE2 #180 186/head
authorKonstantinos Margaritis <konstantinos@vectorcamp.gr>
Tue, 10 Oct 2023 10:30:12 +0000 (18:30 +0800)
committerKonstantinos Margaritis <konstantinos@vectorcamp.gr>
Tue, 10 Oct 2023 10:30:12 +0000 (18:30 +0800)
src/util/arch/arm/cpuid_inline.h

index 03faf41c3359e5d0d143966d5d753050b5f96283..f8a59af3ea619d4f65f98ffbb19bfa79bf5d076c 100644 (file)
 
 #if defined(__linux__)
 #include <sys/auxv.h>
+/* This is to help fix https://github.com/envoyproxy/envoy/pull/29881
+ */
+#if !defined(HWCAP2_SVE2)
+#include <asm/hwcap.h>
+#endif
 #endif
 
 #include "ue2common.h"