[RFC] libstdc++: Add new-abi-baseline target to main Makefile

Jonathan Wakely jwakely@redhat.com
Wed Apr 1 20:36:38 GMT 2026


This allows you to run 'make new-abi-baseline' in the
$target/libstdc++-v3 build directory instead of only in the testsuite
subdirectory.

libstdc++-v3/ChangeLog:

	* Makefile.am (new-abi-baseline): New target.
	* Makefile.in: Regenerate.
---

This is a minor convenience, so you don't have to remember that this
target only exists in the testuite subdirectory.

 libstdc++-v3/Makefile.am | 3 +++
 libstdc++-v3/Makefile.in | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/libstdc++-v3/Makefile.am b/libstdc++-v3/Makefile.am
index b0da23c7e1db..0a8f4beb0399 100644
--- a/libstdc++-v3/Makefile.am
+++ b/libstdc++-v3/Makefile.am
@@ -124,6 +124,9 @@ install-ps:
 dvi:
 install-dvi:
 
+new-abi-baseline:
+	$(MAKE) -C testsuite $@
+
 # Multilib support.
 MAKEOVERRIDES=
 
diff --git a/libstdc++-v3/Makefile.in b/libstdc++-v3/Makefile.in
index 5d2570b31cb8..915e9acbf2f3 100644
--- a/libstdc++-v3/Makefile.in
+++ b/libstdc++-v3/Makefile.in
@@ -830,6 +830,9 @@ install-ps:
 dvi:
 install-dvi:
 
+new-abi-baseline:
+	$(MAKE) -C testsuite $@
+
 # All the machinations with string instantiations messes up the
 # automake-generated TAGS rule. Make a simple one here.
 TAGS: tags-recursive $(LISP)
-- 
2.53.0



More information about the Libstdc++ mailing list