[patch] Update build flags for new compiler feature

Dave Korn dave.korn.cygwin@googlemail.com
Fri Oct 2 20:56:00 GMT 2009


  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).

    cheers,
      DaveK
-- 
(*) - I'm perfectly happy with the notion that if you want to run with the
bleeding edge y'gotta keep your prerequisites up-to-date too, and cygwin is
after all a self-hosted environment, and the distro compiler certainly
supports this feature :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: no-wrap-dll.diff
Type: text/x-c
Size: 682 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20091002/c762b246/attachment.bin>


More information about the Cygwin-patches mailing list