https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108462

--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>:

https://gcc.gnu.org/g:7f583a335769591d016caa51490e3e5dd50354fe

commit r13-5576-g7f583a335769591d016caa51490e3e5dd50354fe
Author: Richard Biener <rguent...@suse.de>
Date:   Mon Jan 23 11:43:53 2023 +0100

    modula2/108462 - duplicate install of static modula2 target libs

    The following addresses the fact that libgm2 installs static libraries
    into two places, one performed by

    toolexeclib_LTLIBRARIES = libm2cor.la

    and one performed as part of the install-data-local rule to a
    m2/m2cor subdirectory alongside Modula-2 .def and .mod files.

    This patch opts to keep the copy installed by libtool and removes
    the extra installs in the install-data-local rules.

    I've built and installed both with and without
    --enable-version-specific-runtime-libs and compiled and linked
    a Modula-2 testcase with the installed compiler with the two
    multilibs and with and without static successfully.

            PR modula2/108462
    libgm2/
            * libm2cor/Makefile.am: Remove static lib install from
            install-data-local.
            * libm2iso/Makefile.am: Likewise.
            * libm2log/Makefile.am: Likewise.
            * libm2min/Makefile.am: Likewise.
            * libm2pim/Makefile.am: Likewise.
            * libm2cor/Makefile.in: Regenerate.
            * libm2iso/Makefile.in: Likewise.
            * libm2log/Makefile.in: Likewise.
            * libm2min/Makefile.in: Likewise.
            * libm2pim/Makefile.in: Likewise.

Reply via email to