libstdc++: use lt_host_flags for libstdc++.la
authorJonathan Yong <10walls@gmail.com>
Tue, 3 Nov 2020 07:47:12 +0000 (07:47 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Tue, 3 Nov 2020 08:22:53 +0000 (08:22 +0000)
commit08fca4df1db9b1ec09c846a8b415bd652cc48050
tree5a2fb8c6c791cbe6f1a429bc7e80629803614f1d
parent41f7f6178e2d35288273656dc55dae8fcf3edeb5
libstdc++: use lt_host_flags for libstdc++.la

For platforms like Mingw and Cygwin, cygwin refuses to generate the
shared library without using -no-undefined.

Attached patch makes sure the right flags are used, since libtool is
already used to link libstdc++.

libstdc++-v3/ChangeLog:

* src/Makefile.am (libstdc___la_LINK): Add lt_host_flags.
* src/Makefile.in: Regenerate.
libstdc++-v3/src/Makefile.am
libstdc++-v3/src/Makefile.in