From b97d2b784da3dcabc93822baa3e10ffacb947a7c Mon Sep 17 00:00:00 2001 From: peter Date: Sun, 7 Apr 2002 06:28:38 +0000 Subject: 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. --- usr.bin/xlint/xlint/xlint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.bin') 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 */ -- cgit v1.1