mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 15:40:11 +01:00
util: unbreak non-linux mips64 build
Put linux specific path inside an ifdef. Unbreaks mips64 build on OpenBSD and likely other systems without Elf64_auxv_t. Fixes:88b234d7a7("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> (cherry picked from commit7d609431d4)
This commit is contained in:
parent
f6a5684750
commit
237197ee69
2 changed files with 3 additions and 1 deletions
|
|
@ -4000,7 +4000,7 @@
|
|||
"description": "util: unbreak non-linux mips64 build",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "88b234d7a7cd71fcb4955428010f238ec9530431"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -438,6 +438,7 @@ check_os_arm_support(void)
|
|||
static void
|
||||
check_os_mips64_support(void)
|
||||
{
|
||||
#if defined(PIPE_OS_LINUX)
|
||||
Elf64_auxv_t aux;
|
||||
int fd;
|
||||
|
||||
|
|
@ -453,6 +454,7 @@ check_os_mips64_support(void)
|
|||
}
|
||||
close (fd);
|
||||
}
|
||||
#endif /* PIPE_OS_LINUX */
|
||||
}
|
||||
#endif /* PIPE_ARCH_MIPS64 */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue