Re: [Mesa-dev] [PATCH 1/1] Fix endianess detection with musl-based toolchains

2016-11-08 Thread Emil Velikov
On 5 November 2016 at 01:55, Jonathan Gray wrote: > On Fri, Nov 04, 2016 at 07:53:25PM +0100, Bernd Kuhls wrote: >> Musl does not define __GLIBC__ and will not provide a __MUSL__ macro: >> http://wiki.musl-libc.org/wiki/FAQ#Q:_why_is_there_no_MUSL_macro_.3F >> >> This patch checks for the presence

Re: [Mesa-dev] [PATCH 1/1] Fix endianess detection with musl-based toolchains

2016-11-04 Thread Jonathan Gray
On Fri, Nov 04, 2016 at 07:53:25PM +0100, Bernd Kuhls wrote: > Musl does not define __GLIBC__ and will not provide a __MUSL__ macro: > http://wiki.musl-libc.org/wiki/FAQ#Q:_why_is_there_no_MUSL_macro_.3F > > This patch checks for the presence of endian.h and promotes the result > to src/amd/Makefi

[Mesa-dev] [PATCH 1/1] Fix endianess detection with musl-based toolchains

2016-11-04 Thread Bernd Kuhls
Musl does not define __GLIBC__ and will not provide a __MUSL__ macro: http://wiki.musl-libc.org/wiki/FAQ#Q:_why_is_there_no_MUSL_macro_.3F This patch checks for the presence of endian.h and promotes the result to src/amd/Makefile.addrlib.am which executes the broken build command. Fixes compile er