diff mbox

Add Cygwin/MinGW -posix option from specs to i386/cygming.opt

Message ID Pine.LNX.4.64.1102010114080.17632@digraph.polyomino.org.uk
State New
Headers show

Commit Message

Joseph Myers Feb. 1, 2011, 1:15 a.m. UTC
In preparation for the driver only accepting options listed in .opt
files, and not other options that simply happen to match some spec,
this patch adds the -posix option from specs in i386/cygwin.h,
i386/mingw-w64.h and i386/mingw32.h to i386/cygming.opt.

Tested building cc1 and xgcc for crosses to: i686-cygwin i686-mingw32
x86_64-mingw32.  OK to commit?

2011-01-31  Joseph Myers  <joseph@codesourcery.com>

	* config/i386/cygming.opt (posix): New Driver option.

Comments

Dave Korn Feb. 1, 2011, 6:06 a.m. UTC | #1
On 01/02/2011 01:15, Joseph S. Myers wrote:
> In preparation for the driver only accepting options listed in .opt
> files, and not other options that simply happen to match some spec,
> this patch adds the -posix option from specs in i386/cygwin.h,
> i386/mingw-w64.h and i386/mingw32.h to i386/cygming.opt.
> 
> Tested building cc1 and xgcc for crosses to: i686-cygwin i686-mingw32
> x86_64-mingw32.  OK to commit?

  Sure is, thank you.

    cheers,
      DaveK
diff mbox

Patch

Index: gcc/config/i386/cygming.opt
===================================================================
--- gcc/config/i386/cygming.opt	(revision 169317)
+++ gcc/config/i386/cygming.opt	(working copy)
@@ -1,6 +1,6 @@ 
 ; Cygwin- and MinGW-specific options.
 
-; Copyright (C) 2005, 2007, 2009, 2010 Free Software Foundation, Inc.
+; Copyright (C) 2005, 2007, 2009, 2010, 2011 Free Software Foundation, Inc.
 ;
 ; This file is part of GCC.
 ;
@@ -49,3 +49,6 @@  Use the GNU extension to the PE format f
 muse-libstdc-wrappers
 Target Condition({defined (USE_CYGWIN_LIBSTDCXX_WRAPPERS)})
 Compile code that relies on Cygwin DLL wrappers to support C++ operator new/delete replacement
+
+posix
+Driver