]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++-v3: Update VTV vars for libtool link commands [PR99172]
authorCaroline Tice <cmtice@google.com>
Fri, 12 Mar 2021 15:34:36 +0000 (07:34 -0800)
committerCaroline Tice <cmtice@google.com>
Mon, 15 Mar 2021 16:22:45 +0000 (09:22 -0700)
commitc2be82058fb40f3ae891c68d185ff53e07f14f45
tree5777f4f8b9a0d5e9f9899b9fcc773b52f40f3085
parent541840b891d61ea70cddd046c96698bb70d7f52c
libstdc++-v3: Update VTV vars for libtool link commands [PR99172]

This fixes PR 99172

Currently when GCC is configured with --enable-vtable-verify, the
libstdc++-v3 Makefiles add "-fvtable-verify=std
-Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end" to libtool link
commands. The "-fvtable-verify=std" piece causes alternate versions of
libtool (such as slibtool) to fail, unable to find "-lvtv" (GNU
libtool just removes that piece).

This patch updates the libstdc++-v3 Makefiles to not pass
"-fvtable-verify=std" to the libtool link commands.
libstdc++-v3/ChangeLog
libstdc++-v3/src/Makefile.am
libstdc++-v3/src/Makefile.in