This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Add Solaris options from specs to sol2.opt
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: ro at CeBiTec dot Uni-Bielefeld dot DE
- Date: Fri, 31 Dec 2010 15:49:04 +0000 (UTC)
- Subject: 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