Re: [PATCH] Makefile: Fix detection of clang when cross-compiling

2015-04-11 Thread Michal Marek
On Thu, Apr 09, 2015 at 04:34:54PM +0200, Paul Cercueil wrote: > When the host's C compiler is clang, and when attempting to > cross-compile Linux e.g. to MIPS with mipsel-linux-gcc, the Makefile > would incorrectly detect the use of clang, which resulted in > clang-specific flags being passed to

Re: [PATCH] Makefile: Fix detection of clang when cross-compiling

2015-04-11 Thread Michal Marek
On Thu, Apr 09, 2015 at 04:34:54PM +0200, Paul Cercueil wrote: When the host's C compiler is clang, and when attempting to cross-compile Linux e.g. to MIPS with mipsel-linux-gcc, the Makefile would incorrectly detect the use of clang, which resulted in clang-specific flags being passed to

[PATCH] Makefile: Fix detection of clang when cross-compiling

2015-04-09 Thread Paul Cercueil
When the host's C compiler is clang, and when attempting to cross-compile Linux e.g. to MIPS with mipsel-linux-gcc, the Makefile would incorrectly detect the use of clang, which resulted in clang-specific flags being passed to mipsel-linux-gcc. This can be verified under Debian by installing the

[PATCH] Makefile: Fix detection of clang when cross-compiling

2015-04-09 Thread Paul Cercueil
When the host's C compiler is clang, and when attempting to cross-compile Linux e.g. to MIPS with mipsel-linux-gcc, the Makefile would incorrectly detect the use of clang, which resulted in clang-specific flags being passed to mipsel-linux-gcc. This can be verified under Debian by installing the