diff --git a/usr.bin/xlint/xlint/xlint.c b/usr.bin/xlint/xlint/xlint.c index 9dc8df612912..82a118e99ab6 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) {