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

2015-09-04 Thread Michal Marek
On 2015-08-27 10:37, Michal Marek wrote: > On 2015-08-27 03:49, Behan Webster wrote: >> Is there any reason you renamed COMPILER? Because it breaks all the >> other patches we have queued up which use it for cross compiling. >> >> And aren't we supposed to use all caps for variable names? > > It

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

2015-09-04 Thread Michal Marek
On 2015-08-27 10:37, Michal Marek wrote: > On 2015-08-27 03:49, Behan Webster wrote: >> Is there any reason you renamed COMPILER? Because it breaks all the >> other patches we have queued up which use it for cross compiling. >> >> And aren't we supposed to use all caps for variable names? > > It

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

2015-08-27 Thread Michal Marek
On 2015-08-27 03:49, Behan Webster wrote: > > On 08/19/15 08:41, Michal Marek wrote: >> From 49bb3e66a9a7fc3685fb070bdfd31f2c3d78cc87 Mon Sep 17 00:00:00 2001 >> From: Michal Marek >> Date: Wed, 19 Aug 2015 17:36:41 +0200 >> Subject: [PATCH] kbuild: Fix clang detection >> >> We cannot detect

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

2015-08-27 Thread Michal Marek
On 2015-08-27 03:49, Behan Webster wrote: On 08/19/15 08:41, Michal Marek wrote: From 49bb3e66a9a7fc3685fb070bdfd31f2c3d78cc87 Mon Sep 17 00:00:00 2001 From: Michal Marek mma...@suse.com Date: Wed, 19 Aug 2015 17:36:41 +0200 Subject: [PATCH] kbuild: Fix clang detection We cannot detect

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

2015-08-26 Thread Behan Webster
On 08/19/15 08:41, Michal Marek wrote: On Mon, Jul 13, 2015 at 08:59:33PM +1000, Anton Blanchard wrote: Hi, > 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

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

2015-08-26 Thread Behan Webster
On 08/19/15 08:41, Michal Marek wrote: On Mon, Jul 13, 2015 at 08:59:33PM +1000, Anton Blanchard wrote: Hi, 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

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

2015-08-19 Thread Michal Marek
On Mon, Jul 13, 2015 at 08:59:33PM +1000, Anton Blanchard wrote: > Hi, > > > > 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 > > >

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

2015-08-19 Thread Michal Marek
On Mon, Jul 13, 2015 at 08:59:33PM +1000, Anton Blanchard wrote: Hi, 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

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

2015-07-13 Thread Anton Blanchard
Hi, > > 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. >

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

2015-07-13 Thread Anton Blanchard
Hi, 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.

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

2015-07-09 Thread Behan Webster
Resent since gmail HTML-ified my previous email... On Wed, Apr 22, 2015 at 7:33 AM, Michal Marek > wrote: On Fri, Apr 17, 2015 at 11:35:04PM +0200, Paul Cercueil wrote: > When the host's C compiler is clang, and when attempting to > cross-compile Linux e.g. to

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

2015-07-09 Thread Behan Webster
Resent since gmail HTML-ified my previous email... On Wed, Apr 22, 2015 at 7:33 AM, Michal Marek mma...@suse.cz mailto:mma...@suse.cz wrote: On Fri, Apr 17, 2015 at 11:35:04PM +0200, Paul Cercueil wrote: When the host's C compiler is clang, and when attempting to cross-compile

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

2015-04-22 Thread Michal Marek
On Fri, Apr 17, 2015 at 11:35:04PM +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 v2] Makefile: Fix detection of clang when cross-compiling

2015-04-22 Thread Michal Marek
On Fri, Apr 17, 2015 at 11:35:04PM +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 v2] Makefile: Fix detection of clang when cross-compiling

2015-04-17 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 v2] Makefile: Fix detection of clang when cross-compiling

2015-04-17 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