Re: [PATCH] perf: Don't hardcode host include path for libslang

2019-06-17 Thread Florian Fainelli
On 6/17/19 11:11 AM, Arnaldo Carvalho de Melo wrote: > Em Sun, Jun 16, 2019 at 11:46:05AM +0200, Jiri Olsa escreveu: >> On Fri, Jun 14, 2019 at 11:39:47AM -0700, Florian Fainelli wrote: >>> Hardcoding /usr/include/slang is fundamentally incompatible with cross >>> compilation and will lead to the i

Re: [PATCH] perf: Don't hardcode host include path for libslang

2019-06-17 Thread Arnaldo Carvalho de Melo
Em Sun, Jun 16, 2019 at 11:46:05AM +0200, Jiri Olsa escreveu: > On Fri, Jun 14, 2019 at 11:39:47AM -0700, Florian Fainelli wrote: > > Hardcoding /usr/include/slang is fundamentally incompatible with cross > > compilation and will lead to the inability for a cross-compiled > > environment to properl

Re: [PATCH] perf: Don't hardcode host include path for libslang

2019-06-17 Thread Florian Fainelli
On 6/16/19 2:46 AM, Jiri Olsa wrote: > On Fri, Jun 14, 2019 at 11:39:47AM -0700, Florian Fainelli wrote: >> Hardcoding /usr/include/slang is fundamentally incompatible with cross >> compilation and will lead to the inability for a cross-compiled >> environment to properly detect whether slang is av

Re: [PATCH] perf: Don't hardcode host include path for libslang

2019-06-16 Thread Jiri Olsa
On Fri, Jun 14, 2019 at 11:39:47AM -0700, Florian Fainelli wrote: > Hardcoding /usr/include/slang is fundamentally incompatible with cross > compilation and will lead to the inability for a cross-compiled > environment to properly detect whether slang is available or not. > > If /usr/include/slang

[PATCH] perf: Don't hardcode host include path for libslang

2019-06-14 Thread Florian Fainelli
Hardcoding /usr/include/slang is fundamentally incompatible with cross compilation and will lead to the inability for a cross-compiled environment to properly detect whether slang is available or not. If /usr/include/slang is necessary that is a distribution specific knowledge that could be solved