fix arm build: avoid including x86-only header from cpu_features on arm
It breaks build on Alpine/postmarketOS, and is explicitely an error on more recent version of cpu_features: https://github.com/google/cpu_features/blob/master/include/cpuinfo_x86.h#L207. protecting the include with #ifdef fix the problem, as every use of cpu_features is already protected.
Showing
想要评论请 注册 或 登录