1 From 3d30df8d8ccb919733b5339b2a82474305b83998 Mon Sep 17 00:00:00 2001
2 From: Khem Raj <raj.khem@gmail.com>
3 Date: Tue, 6 Aug 2019 01:19:48 +0000
4 Subject: [PATCH] gallium: Expand libc check to be platform OS check
6 endianness on musl based systems can also be detected in same way as
7 glibc, therefore check for __linux__ define instead of __GLIBC__
9 Fixes build on musl/mips
11 | ../../../../git/src/gallium/include/pipe/p_config.h:171:2: error: #error Unknown Endianness
12 | #error Unknown Endianness
15 Upstream-Status: Pending
16 Signed-off-by: Khem Raj <raj.khem@gmail.com>
18 src/gallium/include/pipe/p_config.h | 2 +-
19 1 file changed, 1 insertion(+), 1 deletion(-)
21 diff --git a/src/gallium/include/pipe/p_config.h b/src/gallium/include/pipe/p_config.h
22 index d603681..71cdf49 100644
23 --- a/src/gallium/include/pipe/p_config.h
24 +++ b/src/gallium/include/pipe/p_config.h
33 #if __BYTE_ORDER == __LITTLE_ENDIAN