misc/180414: xlint should use $CC

dt71 at gmx.com dt71 at gmx.com
Tue Jul 9 18:20:01 UTC 2013


The following reply was made to PR misc/180414; it has been noted by GNATS.

From: dt71 at gmx.com
To: bug-followup at FreeBSD.org
Cc:  
Subject: Re: misc/180414: xlint should use $CC
Date: Tue, 09 Jul 2013 20:17:46 +0200

 This is a multi-part message in MIME format.
 --------------000405000503060306030401
 Content-Type: text/plain; charset=UTF-8; format=flowed
 Content-Transfer-Encoding: 7bit
 
 Supplying the CC make variable as an environment variable sounds acceptable.
 
 --------------000405000503060306030401
 Content-Type: text/x-patch;
  name="xlint.patch"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="xlint.patch"
 
 Index: usr.bin/xlint/llib/Makefile
 ===================================================================
 --- usr.bin/xlint/llib/Makefile	(revision 253101)
 +++ usr.bin/xlint/llib/Makefile	(working copy)
 @@ -9,9 +9,9 @@
  CLEANFILES+= ${LIBS}
  
  llib-lposix.ln: llib-lposix
 -	${LINT} ${LINTFLAGS} -Cposix ${.ALLSRC}
 +	CC=${CC:Q} ${LINT} ${LINTFLAGS} -Cposix ${.ALLSRC}
  
  llib-lstdc.ln: llib-lstdc
 -	${LINT} ${LINTFLAGS} -Cstdc ${.ALLSRC}
 +	CC=${CC:Q} ${LINT} ${LINTFLAGS} -Cstdc ${.ALLSRC}
  
  .include <bsd.prog.mk>
 
 --------------000405000503060306030401--


More information about the freebsd-bugs mailing list