]> git.ipfire.org Git - thirdparty/make.git/commitdiff
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 a60b89b8f62ec43cec94926fc0ea0cf337d244df..04eb0976c044d964a21433ee14c078a47fd5ed8d 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