Re: [PATCH] cgcc: fix definition of 'linux' macro

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

 



On Thu, Nov 28, 2019 at 03:17:59PM +0000, Ramsay Jones wrote:
> 
> During a call to add_specs('linux'), cgcc adds several macro definitions
> to the sparse command line. In particular, it provides the incorrect
> definition: '-Dlinux=linux'.
> 
> This bug was introduced in commit 807f74466b (<no title>, 2004-08-13), while
> moving some calls to add_pre_buffer() around in lib.c. This was then moved
> out of sparse, into cgcc, by commit cf2bde63a6 (<no title>, 2004-10-05),
> where the definition was copied verbatum.
> 
> Fix this macro definition to read '-Dlinux=1' instead.
> 
> Signed-off-by: Ramsay Jones <ramsay@xxxxxxxxxxxxxxxxxxxx>

Thanks! Applied and pushed.

-- Luc



[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux