This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
Re: [patch] Update build flags for new compiler feature
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin-patches at cygwin dot com
- Date: Fri, 2 Oct 2009 18:19:33 -0400
- Subject: Re: [patch] Update build flags for new compiler feature
- References: <4AC66C72.7070102@gmail.com>
- Reply-to: cygwin-patches at cygwin dot com
On Fri, Oct 02, 2009 at 10:11:14PM +0100, Dave Korn wrote:
>
> So, nobody did ask for a compiler version check(*), so here's the patch plus
>changelog, and I'd like to get separate OKs from both cgf and cv to say that
>you've each either updated your cross-build environments or don't mind
>patching the flag back out locally until you can.
>
>winsup/cygwin/ChangeLog:
>
> * Makefile.in (CFLAGS): Add -mno-use-libstdc-wrappers
>
> (In case anyone was wondering, I think CFLAGS, rather than CXXFLAGS, is the
>right place to add it; it applies to cross-language mixed linking situations
>as much as it does to C++ alone).
I think we've confirmed that this is a good fix. Please check it in.
Thanks.
cgf