diff options
author | kan <kan@FreeBSD.org> | 2006-09-21 02:05:38 +0000 |
---|---|---|
committer | kan <kan@FreeBSD.org> | 2006-09-21 02:05:38 +0000 |
commit | bd9e529aec2265093d4c149ba012f9199b5ff4b7 (patch) | |
tree | c9d6f71b76c1f8dd0b069a6b08eaa4ebc8cade29 /usr.bin | |
parent | 06378b342efeeda330b529290176e18d35b683c8 (diff) | |
download | FreeBSD-src-bd9e529aec2265093d4c149ba012f9199b5ff4b7.zip FreeBSD-src-bd9e529aec2265093d4c149ba012f9199b5ff4b7.tar.gz |
Pass "-Wtraditional -Wno-system-headers" to compiler as two separate
arguments. GCC4 was unhappy with them combined, while GCC 3.4 did
not care.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/xlint/xlint/xlint.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/xlint/xlint/xlint.c b/usr.bin/xlint/xlint/xlint.c index 9dc8df6..82a118e 100644 --- a/usr.bin/xlint/xlint/xlint.c +++ b/usr.bin/xlint/xlint/xlint.c @@ -402,7 +402,8 @@ main(int argc, char *argv[]) break; case 'p': - appcstrg(&lcflags, "-Wtraditional -Wno-system-headers"); + appcstrg(&lcflags, "-Wtraditional"); + appcstrg(&lcflags, "-Wno-system-headers"); appcstrg(&l1flags, "-p"); appcstrg(&l2flags, "-p"); if (*deflibs != NULL) { |