diff options
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -590,8 +590,9 @@ main (argc, argv, envp) makelevel = 0; } - /* Always do -w in sub-makes and under -C. */ - print_directory_flag |= directories != 0 || makelevel > 0; + /* Except under -s, always do -w in sub-makes and under -C. */ + if (!silent_flag && (directories != 0 || makelevel > 0)) + print_directory_flag = 1; /* Construct the list of include directories to search. */ |