Patchwork Add Interix -posix option from specs to interix.opt

login
register
mail settings
Submitter Joseph S. Myers
Date Feb. 1, 2011, 10:24 p.m.
Message ID <Pine.LNX.4.64.1102012223580.31600@digraph.polyomino.org.uk>
Download mbox | patch
Permalink /patch/81393/
State New
Headers show

Comments

Joseph S. Myers - Feb. 1, 2011, 10:24 p.m.
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 i386/i386-interix.h and
i386/i386-interix3.h to interix.opt.  (Since GCC only supports one
Interix target - to be deprecated in 4.6 - the abstraction of having
four different Interix headers is pretty meaningless and does not seem
worth replicating through having multiple .opt files.)

This target does not build cc1 either before or after this patch,
which I've committed as a preapproved cleanup to an unmaintained
target.

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

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

Patch

Index: gcc/config/interix.opt
===================================================================
--- gcc/config/interix.opt	(revision 169317)
+++ gcc/config/interix.opt	(working copy)
@@ -1,6 +1,6 @@ 
 ; Interix options.
 
-; Copyright (C) 2010
+; Copyright (C) 2010, 2011
 ; Free Software Foundation, Inc.
 ;
 ; This file is part of GCC.
@@ -30,4 +30,7 @@  Driver
 G
 Driver
 
+posix
+Driver
+
 ; This comment is to ensure we retain the blank line above.