https://bugs.kde.org/show_bug.cgi?id=413547
Petar Jovanovic <mips3...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mips3...@gmail.com --- Comment #11 from Petar Jovanovic <mips3...@gmail.com> --- tests/arm64_features is built for each platform, but sys/auxv.h is not available everywhere and it will lead to build failure such as: arm64_features.c:5:22: fatal error: sys/auxv.h: No such file or directory compilation terminated. make[3]: *** [arm64_features.o] Error 1 Can we make this #include conditional? We can check for existence of getauxval(), or we may simply exclude it for non-arm builds with something like diff --git a/tests/arm64_features.c b/tests/arm64_features.c index 916a4e2..2c5670e 100644 --- a/tests/arm64_features.c +++ b/tests/arm64_features.c @@ -1,7 +1,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> -#if !defined(__APPLE__) +#if !defined(__APPLE__) && defined(VGA_arm64) #include <sys/auxv.h> #endif -- You are receiving this mail because: You are watching all bug changes.