2003/09/07 10:29:48
[org.ibex.core.git] / upstream / gcc-3.3 / patches / solaris.patch
1 --- gcc/config/sparc/gmon-sol2.c        Sun Sep 15 05:03:42 2002
2 +++ gcc/config/sparc/gmon-sol2.c        Sat Jul 12 05:43:17 2003
3 @@ -1,3 +1,4 @@
4 +#define PATH_MAX 254
5  /*-
6   * Copyright (c) 1991 The Regents of the University of California.
7   * All rights reserved.
8 diff -ur libjava/configure gcc-3.3+/libjava/configure
9 --- libjava/configure   Tue May 13 17:18:14 2003
10 +++ libjava/configure   Tue Jul 15 02:41:51 2003
11 @@ -3331,6 +3331,10 @@
12         THREADLDFLAGS=-pthread
13         THREADSPEC=-lc_r
14         ;;
15 +     *-solaris*)
16 +       THREADLIBS=-lpthread -lsocket -lnsl -ldl
17 +       THREADSPEC=-lpthread -lsocket -lnsl -ldl
18 +       ;;
19       *)
20         THREADLIBS=-lpthread
21         THREADSPEC=-lpthread
22 diff -ur libjava/configure.in gcc-3.3+/libjava/configure.in
23 --- libjava/configure.in        Fri Mar 28 15:42:56 2003
24 +++ libjava/configure.in        Tue Jul 15 02:17:07 2003
25 @@ -402,6 +402,10 @@
26         THREADLDFLAGS=-pthread
27         THREADSPEC=-lc_r
28         ;;
29 +     *-*-solaris*)
30 +       THREADLIBS=-lpthread -lsocket -lnsl -ldl 
31 +       THREADSPEC=-lpthread -lsocket -lnsl -ldl 
32 +       ;;
33       *)
34         THREADLIBS=-lpthread
35         THREADSPEC=-lpthread