libstdc++: Fix install-debug makefile target
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Mon, 14 Nov 2022 10:13:47 +0000 (10:13 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Mon, 14 Nov 2022 10:16:11 +0000 (10:16 +0000)
This target should have been changed by r13-3918-gba7551485bc576 and now
fails.

libstdc++-v3/ChangeLog:

* src/Makefile.am (install-debug): Remove use of $(debugdir).
* src/Makefile.in: Regenerate.

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

index b545ebf..59d992a 100644 (file)
@@ -422,5 +422,5 @@ build-debug: stamp-debug $(debug_backtrace_supported_h)
 
 # Install debug library.
 install-debug: build-debug
-       (cd ${debugdir} && $(MAKE) CXXFLAGS='$(DEBUG_FLAGS)' \
-       toolexeclibdir=$(glibcxx_toolexeclibdir)/debug install) ;
+       $(MAKE) -C debug CXXFLAGS='$(DEBUG_FLAGS)' \
+         toolexeclibdir=$(glibcxx_toolexeclibdir)/debug install
index f54ee28..b19eef0 100644 (file)
@@ -1142,8 +1142,8 @@ build-debug: stamp-debug $(debug_backtrace_supported_h)
 
 # Install debug library.
 install-debug: build-debug
-       (cd ${debugdir} && $(MAKE) CXXFLAGS='$(DEBUG_FLAGS)' \
-       toolexeclibdir=$(glibcxx_toolexeclibdir)/debug install) ;
+       $(MAKE) -C debug CXXFLAGS='$(DEBUG_FLAGS)' \
+         toolexeclibdir=$(glibcxx_toolexeclibdir)/debug install
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.