Skip to content

Commit

Permalink
Merge pull request #186 from VectorCamp/bugfix/fix-compilation-arm-ub…
Browse files Browse the repository at this point in the history
…untu-20.04

Ubuntu 20.04 gcc does not define HWCAP2_SVE2 #180
  • Loading branch information
markos authored Oct 25, 2023
2 parents 02474c4 + a659555 commit de94286
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://github.com/envoyproxy/envoy/pull/29881
*/
#if !defined(HWCAP2_SVE2)
#include <asm/hwcap.h>
#endif
#endif

#include "ue2common.h"
Expand Down

0 comments on commit de94286

Please sign in to comment.