summaryrefslogtreecommitdiffstats
path: root/usr.bin/xlint
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2002-04-07 06:28:38 +0000
committerpeter <peter@FreeBSD.org>2002-04-07 06:28:38 +0000
commitb97d2b784da3dcabc93822baa3e10ffacb947a7c (patch)
tree92016177c85f34fb66a70c43e2153a8025805330 /usr.bin/xlint
parent143a20a66262138d0c05e6128a6f1cf49de944da (diff)
downloadFreeBSD-src-b97d2b784da3dcabc93822baa3e10ffacb947a7c.zip
FreeBSD-src-b97d2b784da3dcabc93822baa3e10ffacb947a7c.tar.gz
Later versions of gcc object very strongly to the -C flag being passed
as -CC. It makes no difference to gcc in the tree, but this change is necessary for gcc-3.1 to work.
Diffstat (limited to 'usr.bin/xlint')
-rw-r--r--usr.bin/xlint/xlint/xlint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/xlint/xlint/xlint.c b/usr.bin/xlint/xlint/xlint.c
index 1b10940..3805791 100644
--- a/usr.bin/xlint/xlint/xlint.c
+++ b/usr.bin/xlint/xlint/xlint.c
@@ -344,7 +344,7 @@ main(int argc, char *argv[])
appcstrg(&cflags, "-undef");
#endif
appcstrg(&cflags, "-Wp,-$");
- appcstrg(&cflags, "-Wp,-CC");
+ appcstrg(&cflags, "-Wp,-C");
appcstrg(&cflags, "-Wcomment");
appcstrg(&cflags, "-D__LINT__");
appcstrg(&cflags, "-Dlint"); /* XXX don't def. with -s */
OpenPOWER on IntegriCloud