summaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/4.2.0/102-uclibc-conf.patch
blob: 164ed25f27ca0ed43195578a1c782abaa15fbc5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
--- gcc/libgomp/configure.uclibc100~	2006-03-10 14:42:44 +0100
+++ gcc/libgomp/configure	2006-03-10 14:42:57 +0100
@@ -3771,7 +3771,7 @@
   ;;
 
 # This must be Linux ELF.
-linux-gnu*)
+linux*)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
--- gcc/gcc/config/cris/linux.h.uclibc100~	2006-03-06 20:36:46 +0100
+++ gcc/gcc/config/cris/linux.h	2006-03-10 14:40:13 +0100
@@ -74,7 +74,11 @@
 #define CRIS_DEFAULT_CPU_VERSION CRIS_CPU_NG
 
 #undef CRIS_SUBTARGET_VERSION
-#define CRIS_SUBTARGET_VERSION " - cris-axis-linux-gnu"
+#if UCLIBC_DEFAULT
+# define CRIS_SUBTARGET_VERSION " - cris-axis-linux-uclibc"
+#else
+# define CRIS_SUBTARGET_VERSION " - cris-axis-linux-gnu"
+#endif
 
 #define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
 
--- gcc/libstdc++-v3/configure.uclibc100~	2006-03-06 21:23:58 +0100
+++ gcc/libstdc++-v3/configure	2006-03-10 14:40:13 +0100
@@ -4276,7 +4276,7 @@
   ;;
 
 # This must be Linux ELF.
-linux-gnu*)
+linux*)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
@@ -99523,7 +99523,7 @@
 
     case "$target" in
       *-uclinux*)
-        # Don't enable LFS with uClibc
+        # Don't enable LFS with uClinux
         ;;
       *)
         cat >>confdefs.h <<\_ACEOF
--- gcc/libstdc++-v3/crossconfig.m4.uclibc100~	2006-03-06 21:23:58 +0100
+++ gcc/libstdc++-v3/crossconfig.m4	2006-03-10 14:40:13 +0100
@@ -161,7 +161,7 @@
     AC_DEFINE(HAVE_INT64_T)
     case "$target" in
       *-uclinux*)
-        # Don't enable LFS with uClibc
+        # Don't enable LFS with uClinux
         ;;
       *)
         AC_DEFINE(_GLIBCXX_USE_LFS)
--- gcc/zlib/configure.uclibc100~	2006-03-06 21:27:15 +0100
+++ gcc/zlib/configure	2006-03-10 14:40:13 +0100
@@ -3422,7 +3422,7 @@
   ;;
 
 # This must be Linux ELF.
-linux-gnu*)
+linux*)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
--- gcc/libobjc/configure.uclibc100~	2006-03-06 21:28:36 +0100
+++ gcc/libobjc/configure	2006-03-10 14:40:13 +0100
@@ -3309,7 +3309,7 @@
   ;;
 
 # This must be Linux ELF.
-linux-gnu*)
+linux*)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
--- gcc/libgfortran/configure.uclibc100~	2006-03-06 21:35:15 +0100
+++ gcc/libgfortran/configure	2006-03-10 14:40:14 +0100
@@ -3695,7 +3695,7 @@
   ;;
 
 # This must be Linux ELF.
-linux-gnu*)
+linux*)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
--- gcc/libmudflap/configure.uclibc100~	2006-03-06 21:36:09 +0100
+++ gcc/libmudflap/configure	2006-03-10 14:40:14 +0100
@@ -5378,7 +5378,7 @@
   ;;
 
 # This must be Linux ELF.
-linux-gnu*)
+linux*)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
--- gcc/boehm-gc/configure.uclibc100~	2006-03-06 21:38:35 +0100
+++ gcc/boehm-gc/configure	2006-03-10 14:40:14 +0100
@@ -4316,7 +4316,7 @@
   ;;
 
 # This must be Linux ELF.
-linux-gnu*)
+linux*)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
--- gcc/libffi/configure.uclibc100~	2006-03-06 21:43:16 +0100
+++ gcc/libffi/configure	2006-03-10 14:40:14 +0100
@@ -3453,7 +3453,7 @@
   ;;
 
 # This must be Linux ELF.
-linux-gnu*)
+linux*)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
--- gcc/libssp/configure.uclibc100~	2006-03-06 21:43:38 +0100
+++ gcc/libssp/configure	2006-03-10 14:40:14 +0100
@@ -4409,7 +4409,7 @@
   ;;
 
 # This must be Linux ELF.
-linux-gnu*)
+linux*)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
--- gcc/contrib/regression/objs-gcc.sh.uclibc100~	2006-03-06 21:43:42 +0100
+++ gcc/contrib/regression/objs-gcc.sh	2006-03-10 14:40:14 +0100
@@ -105,6 +105,10 @@
  then
   make all-gdb all-dejagnu all-ld || exit 1
   make install-gdb install-dejagnu install-ld || exit 1
+elif [ $H_REAL_TARGET = $H_REAL_HOST -a $H_REAL_TARGET = i686-pc-linux-uclibc ]
+ then
+  make all-gdb all-dejagnu all-ld || exit 1
+  make install-gdb install-dejagnu install-ld || exit 1
 elif [ $H_REAL_TARGET = $H_REAL_HOST ] ; then
   make bootstrap || exit 1
   make install || exit 1
--- gcc/libjava/classpath/ltconfig.uclibc100~	2006-03-06 22:43:49 +0100
+++ gcc/libjava/classpath/ltconfig	2006-03-10 14:40:14 +0100
@@ -603,7 +603,7 @@
 
 # Transform linux* to *-*-linux-gnu*, to support old configure scripts.
 case $host_os in
-linux-gnu*) ;;
+linux-gnu*|linux-uclibc*) ;;
 linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
 esac
 
@@ -1251,7 +1251,7 @@
   ;;
 
 # This must be Linux ELF.
-linux-gnu*)
+linux*)
   version_type=linux
   need_lib_prefix=no
   need_version=no
--- gcc/libjava/classpath/configure.uclibc100~	2006-03-06 22:43:48 +0100
+++ gcc/libjava/classpath/configure	2006-03-10 14:40:14 +0100
@@ -4665,7 +4665,7 @@
   ;;
 
 # This must be Linux ELF.
-linux-gnu*)
+linux*)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
--- gcc/libjava/configure.uclibc100~	2006-03-10 13:47:50 +0100
+++ gcc/libjava/configure	2006-03-10 14:40:14 +0100
@@ -5212,7 +5212,7 @@
   ;;
 
 # This must be Linux ELF.
-linux-gnu*)
+linux*)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
--- gcc/libgcc-math/configure.uclibc100~	2006-03-10 14:43:03 +0100
+++ gcc/libgcc-math/configure	2006-03-10 14:43:11 +0100
@@ -3829,7 +3829,7 @@
   ;;
 
 # This must be Linux ELF.
-linux-gnu*)
+linux*)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
--- gcc/libtool.m4.uclibc100~	2006-03-06 22:53:26 +0100
+++ gcc/libtool.m4	2006-03-10 14:40:14 +0100
@@ -739,7 +739,7 @@
   ;;
 
 # This must be Linux ELF.
-linux-gnu*)
+linux*)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
--- gcc/ltconfig.uclibc100~	2006-03-06 22:53:26 +0100
+++ gcc/ltconfig	2006-03-10 14:40:14 +0100
@@ -603,7 +603,7 @@
 
 # Transform linux* to *-*-linux-gnu*, to support old configure scripts.
 case $host_os in
-linux-gnu*) ;;
+linux-gnu*|linux-uclibc*) ;;
 linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
 esac
 
@@ -1251,7 +1251,7 @@
   ;;
 
 # This must be Linux ELF.
-linux-gnu*)
+linux*)
   version_type=linux
   need_lib_prefix=no
   need_version=no