Formerly main.c.~50~
authorRoland McGrath <roland@redhat.com>
Thu, 2 Jul 1992 22:48:17 +0000 (22:48 +0000)
committerRoland McGrath <roland@redhat.com>
Thu, 2 Jul 1992 22:48:17 +0000 (22:48 +0000)
main.c

diff --git a/main.c b/main.c
index a60b89b..04eb097 100644 (file)
--- a/main.c
+++ b/main.c
@@ -577,6 +577,9 @@ main (argc, argv, envp)
       makelevel = 0;
   }
 
+  /* Always do -w in sub-makes and under -C.  */
+  print_directory_flag |= directories != 0 || makelevel > 0;
+
   /* Construct the list of include directories to search.  */
 
   construct_include_path (include_directories == 0 ? (char **) 0