Date: Tue, 9 Jul 2013 18:20:00 GMT From: dt71@gmx.com To: freebsd-bugs@FreeBSD.org Subject: Re: misc/180414: xlint should use $CC Message-ID: <201307091820.r69IK06Z037054@freefall.freebsd.org>
index | next in thread | raw e-mail
The following reply was made to PR misc/180414; it has been noted by GNATS.
From: dt71@gmx.com
To: bug-followup@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--
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307091820.r69IK06Z037054>
