Skip to content

Commit

Permalink
Ubuntu 20.04 gcc does not define HWCAP2_SVE2 #180
Browse files Browse the repository at this point in the history
  • Loading branch information
markos committed Oct 10, 2023
1 parent aa8af26 commit a659555
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/util/arch/arm/cpuid_inline.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@

#if defined(__linux__)
#include <sys/auxv.h>
/* This is to help fix https:/envoyproxy/envoy/pull/29881
*/
#if !defined(HWCAP2_SVE2)
#include <asm/hwcap.h>
#endif
#endif

#include "ue2common.h"
Expand Down

0 comments on commit a659555

Please sign in to comment.