Lines 222-239
Link Here
|
222 |
fi |
222 |
fi |
223 |
done |
223 |
done |
224 |
# Only install cpp if switching to a native one |
224 |
# Only install cpp if switching to a native one |
225 |
case "${CHOST}" in |
225 |
if ! is_cross_compiler ; then |
226 |
*solaris*) |
226 |
${RM} -f "${ROOT}/lib/cpp" |
227 |
# solaris imake doesn't like gcc cpp |
227 |
${CP} -f "${ROOT}/usr/lib/gcc-config/wrapper" "${ROOT}/lib/cpp" |
228 |
# although gcc doesn't dislike solaris cpp |
228 |
fi |
229 |
;; |
|
|
230 |
*) |
231 |
if ! is_cross_compiler ; then |
232 |
${RM} -f "${ROOT}/lib/cpp" |
233 |
${CP} -f "${ROOT}/usr/lib/gcc-config/wrapper" "${ROOT}/lib/cpp" |
234 |
fi |
235 |
;; |
236 |
esac |
237 |
|
229 |
|
238 |
# We need to make sure that libgcc_s.so makes it into /lib. |
230 |
# We need to make sure that libgcc_s.so makes it into /lib. |
239 |
# On many systems (x86/amd64/etc...), this will probably never matter, |
231 |
# On many systems (x86/amd64/etc...), this will probably never matter, |