Re: [PATCH 3/4] tools lib feature: Do not redefine compiler configuration

2017-02-06 Thread Jiri Olsa
On Mon, Feb 06, 2017 at 10:38:59AM -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, Feb 01, 2017 at 10:38:03PM -0800, David Carrillo-Cisneros escreveu: > > Feature detection redefines CC, CCX and PKG_CONFIG, making the > > output of feature detection inconsistent with the actual features > >

Re: [PATCH 3/4] tools lib feature: Do not redefine compiler configuration

2017-02-06 Thread Jiri Olsa
On Mon, Feb 06, 2017 at 10:38:59AM -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, Feb 01, 2017 at 10:38:03PM -0800, David Carrillo-Cisneros escreveu: > > Feature detection redefines CC, CCX and PKG_CONFIG, making the > > output of feature detection inconsistent with the actual features > >

Re: [PATCH 3/4] tools lib feature: Do not redefine compiler configuration

2017-02-06 Thread Arnaldo Carvalho de Melo
Em Wed, Feb 01, 2017 at 10:38:03PM -0800, David Carrillo-Cisneros escreveu: > Feature detection redefines CC, CCX and PKG_CONFIG, making the > output of feature detection inconsistent with the actual features > available during compilation when the above variables are used. > > Fix it by using

Re: [PATCH 3/4] tools lib feature: Do not redefine compiler configuration

2017-02-06 Thread Arnaldo Carvalho de Melo
Em Wed, Feb 01, 2017 at 10:38:03PM -0800, David Carrillo-Cisneros escreveu: > Feature detection redefines CC, CCX and PKG_CONFIG, making the > output of feature detection inconsistent with the actual features > available during compilation when the above variables are used. > > Fix it by using

[PATCH 3/4] tools lib feature: Do not redefine compiler configuration

2017-02-01 Thread David Carrillo-Cisneros
Feature detection redefines CC, CCX and PKG_CONFIG, making the output of feature detection inconsistent with the actual features available during compilation when the above variables are used. Fix it by using conditional assignment. Signed-off-by: David Carrillo-Cisneros ---

[PATCH 3/4] tools lib feature: Do not redefine compiler configuration

2017-02-01 Thread David Carrillo-Cisneros
Feature detection redefines CC, CCX and PKG_CONFIG, making the output of feature detection inconsistent with the actual features available during compilation when the above variables are used. Fix it by using conditional assignment. Signed-off-by: David Carrillo-Cisneros ---