]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Use -C option to run recursive make in sub-directories
authorJonathan Wakely <jwakely@redhat.com>
Thu, 14 Nov 2024 18:25:50 +0000 (18:25 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Sat, 16 Nov 2024 01:05:06 +0000 (01:05 +0000)
libstdc++-v3/ChangeLog:

* Makefile.am: Use $(MAKE) -C dir instead of cd dir && $(MAKE).
* Makefile.in: Regenerate.

libstdc++-v3/Makefile.am
libstdc++-v3/Makefile.in

index 823e43da926693dcf690f9b8414fe2b82bae5201..bb4027266aeb69ff4bccc49e6d8c3deb3622cd28 100644 (file)
@@ -34,11 +34,11 @@ ACLOCAL_AMFLAGS = -I . -I .. -I ../config
 
 # Testsuite/check forwarding targets.
 check-%:
-       cd testsuite && $(MAKE) $@
+       $(MAKE) -C testsuite $@
 
 # Documentation forwarding targets.
 doc-%:
-       cd doc && $(MAKE) $@
+       $(MAKE) -C doc $@
 
 # Documentation conditionals for output.
 if BUILD_XML
index cf8dd8bca50fba0f8e0323d8e1ab29f52ad365cf..5beb3146ee6aa7f0796b11a93ce6af513e9ab083 100644 (file)
@@ -778,11 +778,11 @@ uninstall-am:
 
 # Testsuite/check forwarding targets.
 check-%:
-       cd testsuite && $(MAKE) $@
+       $(MAKE) -C testsuite $@
 
 # Documentation forwarding targets.
 doc-%:
-       cd doc && $(MAKE) $@
+       $(MAKE) -C doc $@
 
 # Documentation primary rules.
 #