diff mbox

Reject unqualified *-*-solaris2 configurations (PR target/47124)

Message ID ydd1uxeh0f0.fsf@manam.CeBiTec.Uni-Bielefeld.DE
State New
Headers show

Commit Message

Rainer Orth July 25, 2011, 2:58 p.m. UTC
As described in the PR, configuring for e.g. sparc-sun-solaris2 fails to
build in the gcc directory.  While this could be made to work, it
doesn't really make sense: in a native build, you don't have to specify
the configure triplet you're building for, and in a cross you must,
given the differences between different versions of Solaris.

Thus I'm simply rejecting such a target.  The following patch was tested
by configuring with --target i386-pc-solaris2 and observing the
configuration being rejected.

Installed on mainline.

	Rainer


2011-07-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	PR target/47124
	* config.gcc: Reject *-*-solaris2 configuration.
diff mbox

Patch

diff --git a/gcc/config.gcc b/gcc/config.gcc
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -280,6 +280,7 @@  case ${target} in
  | *-*-linux*oldld*			\
  | *-*-rtemsaout*			\
  | *-*-rtemscoff*			\
+ | *-*-solaris2				\
  | *-*-solaris2.[0-7]			\
  | *-*-solaris2.[0-7].*			\
  | *-*-sysv*		\