Put linux specific path inside an ifdef. Unbreaks mips64 build on
OpenBSD and likely other systems without Elf64_auxv_t.
Fixes:
88b234d7a7c ("gallivm: add basic mips64 support and set mcpu to mips64r5 on ls3a4000")
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15166>
static void
check_os_mips64_support(void)
{
+#if defined(PIPE_OS_LINUX)
Elf64_auxv_t aux;
int fd;
}
close (fd);
}
+#endif /* PIPE_OS_LINUX */
}
#endif /* PIPE_ARCH_MIPS64 */