tech-toolchain archive

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

Re: LLVM build warnings



Le 11/04/2020 à 18:34, Joerg Sonnenberger a écrit :
> On Sat, Apr 11, 2020 at 01:05:07PM +0200, Maxime Villard wrote:
>> [I'm not subscribed to this list, so if you want to answer, make sure to CC me]
>>
>> When testing CFLAGS with LLVM, I often hit warnings like this one:
>>
>> 	--- libkern.o ---
>> 	building standard kern library
>> 	aarch64--netbsd-clang: error: argument unused during compilation: 'XXX' [-Werror,-Wunused-command-line-argument]
> 
> Well, use the appropiate variable and not CFLAGS then.

Sure, but what is the "appropriate" variable? CPPFLAGS gives the same result.

Maxime


Home | Main Index | Thread Index | Old Index