Merge pull request #186 from VectorCamp/bugfix/fix-compilation-arm-ubuntu-20.04

Ubuntu 20.04 gcc does not define HWCAP2_SVE2 #180
This commit is contained in:
Konstantinos Margaritis 2023-10-25 13:53:44 +03:00 committed by GitHub
commit de94286fed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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"