This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH g++ driver] Push -static-libstdc++ back onto the command line to allow spec substitutions to use it.
- From: Jason Merrill <jason at redhat dot com>
- To: Iain Sandoe <iain at codesourcery dot com>, gcc-patches List <gcc-patches at gcc dot gnu dot org>
- Cc: Jonathan Wakely <jwakely at redhat dot com>
- Date: Tue, 14 Jul 2015 13:24:21 -0400
- Subject: Re: [PATCH g++ driver] Push -static-libstdc++ back onto the command line to allow spec substitutions to use it.
- Authentication-results: sourceware.org; auth=none
- References: <6AF41B3F-BB52-4B75-9336-54A9587CD627 at codesourcery dot com>
On 06/18/2015 04:12 AM, Iain Sandoe wrote:
The patch below pushes -static-libstdc++ onto the output command line (for targets without -Bstatic/dynamic) so that such specs have an opportunity to fire.
Won't that produce an unrecognized flag error from the linker?
Jason