[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Warning - non-POSIX variable name

From: Warren Young
Subject: Re: Warning - non-POSIX variable name
Date: Mon, 7 Aug 2017 12:29:15 -0600

On Aug 7, 2017, at 5:17 AM, Dharmil Shah <address@hidden> wrote:
> I did something like this:
> CC=${CC - /../../llvm-arm-toolchain-ship/3.8/bin/clang}

I don’t know that syntax, and due to its form, I’ve failed to Google up a 
reference to it, so I don’t know what exactly it is you’re trying to accomplish.

However, I don’t see what’s wrong with either:

1. CC=../../llvm-arm-toolchain-ship/3.8/bin/clang

2. autoconf CC=../../llvm-arm-toolchain-ship/3.8/bin/clang

3. Writing an autoconf macro that seeks out the nearest Clang installation 
compatible with your necessary build flags (-march=armwhatever, etc.).

That’s in increasing order of preference.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]