Ubuntu 20.04 gcc does not define HWCAP2_SVE2 #180

This commit is contained in:
Konstantinos Margaritis 2023-10-10 18:30:12 +08:00
parent aa8af2621b
commit a659555781

View File

@ -32,6 +32,11 @@
#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"