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

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-11 branch has been updated by Iain Buclaw
<ibuc...@gcc.gnu.org>:

https://gcc.gnu.org/g:dd6098467ff83351948435efc826e1c4b4b27f99

commit r11-9068-gdd6098467ff83351948435efc826e1c4b4b27f99
Author: Iain Buclaw <ibuc...@gdcproject.org>
Date:   Sun Oct 3 16:02:24 2021 +0200

    d: gdc driver ignores -static-libstdc++ when automatically linking
libstdc++ library

    Adds handling of `-static-libstc++' in the gdc driver, so that libstdc++
    is appropriately linked if libstdc++ is either needed or seen on the
    command-line.

            PR d/102574

    gcc/d/ChangeLog:

            * d-spec.cc (lang_specific_driver): Link libstdc++ statically if
            -static-libstdc++ was given on command-line.

    (cherry picked from commit c86a16b07b76604a8e3d556f135babab80e2b747)

Reply via email to