Re: Warning - non-POSIX variable name

2017-08-09 Thread Bob Friesenhahn
On Tue, 8 Aug 2017, Warren Young wrote: On Aug 7, 2017, at 11:39 PM, Dharmil Shah wrote: I followed your suggestions and hence I am able to compile my package using the llvm compiler. I hope you chose option 3. On re-reading that email, I think option 2 is wrong, or at least, it isn’t what

Re: Warning - non-POSIX variable name

2017-08-09 Thread Warren Young
On Aug 9, 2017, at 9:00 AM, Bob Friesenhahn wrote: > > Passing a relative path to CC seems error prone since it only applies to the > current working directory and will fail as soon as any Makefile recurses. Maybe you have a better answer to this related question: is there a portable alternat

Re: Warning - non-POSIX variable name

2017-08-09 Thread Eric Blake
On 08/09/2017 12:02 PM, Warren Young wrote: > On Aug 9, 2017, at 9:00 AM, Bob Friesenhahn > wrote: >> >> Passing a relative path to CC seems error prone since it only applies to the >> current working directory and will fail as soon as any Makefile recurses. > > Maybe you have a better answer t

Re: Warning - non-POSIX variable name

2017-08-09 Thread Warren Young
On Aug 9, 2017, at 11:39 AM, Eric Blake wrote: > > Why not just: > > ./configure CC="$PWD/../../llvm-arm-toolchain-ship/3.8/bin/clang" > > which turns your relative name into an absolute one? > > Do you HAVE to have the canonical name? It just makes the log messages nicer to read.