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

Tomasz Kaminski tkaminsk@redhat.com
Wed Apr 1 21:06:57 GMT 2026


On Wed, Apr 1, 2026 at 10:38 PM Jonathan Wakely <jwakely@redhat.com> wrote:

> 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.
>
LGTM thanks.

>
>  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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://gcc.gnu.org/pipermail/libstdc++/attachments/20260401/70c2a70f/attachment.htm>


More information about the Libstdc++ mailing list