This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Add Solaris options from specs to sol2.opt


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 Solaris options matched by specs in sol2.h to
sol2.opt.

Tested building cc1 and xgcc for crosses to: i686-solaris2.10
sparc-solaris2.10.  OK to commit?

2010-12-31  Joseph Myers  <joseph@codesourcery.com>

	* config/sol2.opt (G, YP,, Ym,, compat-bsd, pthread, pthreads,
	rdynamic, threads): New Driver options.

Index: gcc/config/sol2.opt
===================================================================
--- gcc/config/sol2.opt	(revision 168378)
+++ gcc/config/sol2.opt	(working copy)
@@ -18,6 +18,30 @@
 ; along with GCC; see the file COPYING3.  If not see
 ; <http://www.gnu.org/licenses/>.
 
+G
+Driver
+
+YP,
+Driver Joined
+
+Ym,
+Driver Joined
+
+compat-bsd
+Driver
+
 mimpure-text
 Target Report
 Pass -z text to linker
+
+pthread
+Driver
+
+pthreads
+Driver
+
+rdynamic
+Driver
+
+threads
+Driver

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]