Lines 1390-1402
gcc_do_configure() {
Link Here
|
1390 |
fi |
1390 |
fi |
1391 |
[[ ${GCCMAJOR}.${GCCMINOR} < 3.4 ]] && confgcc="${confgcc} --disable-libunwind-exceptions" |
1391 |
[[ ${GCCMAJOR}.${GCCMINOR} < 3.4 ]] && confgcc="${confgcc} --disable-libunwind-exceptions" |
1392 |
|
1392 |
|
1393 |
# create a sparc*linux*-{gcc,g++} that can handle -m32 and -m64 (biarch) |
1393 |
# create a (i386|sparc)*linux*-{gcc,g++} that can handle -m32 and -m64 (biarch) |
1394 |
if [[ ${CTARGET} == sparc*linux* ]] \ |
1394 |
case ${CTARGET} in |
1395 |
&& is_multilib \ |
1395 |
i?86*linux*| \ |
1396 |
&& [[ ${GCCMAJOR}.${GCCMINOR} > 4.2 ]] |
1396 |
sparc*linux*) |
1397 |
then |
1397 |
is_multilib && [[ ${GCCMAJOR}.${GCCMINOR} > 4.2 ]] && confgcc="${confgcc} --enable-targets=all" |
1398 |
confgcc="${confgcc} --enable-targets=all" |
1398 |
esac |
1399 |
fi |
|
|
1400 |
|
1399 |
|
1401 |
tc_version_is_at_least 4.3 && set -- "$@" \ |
1400 |
tc_version_is_at_least 4.3 && set -- "$@" \ |
1402 |
--with-bugurl=http://bugs.gentoo.org/ \ |
1401 |
--with-bugurl=http://bugs.gentoo.org/ \ |
Lines 2497-2509
fix_libtool_libdir_paths() {
Link Here
|
2497 |
|
2496 |
|
2498 |
is_multilib() { |
2497 |
is_multilib() { |
2499 |
[[ ${GCCMAJOR} < 3 ]] && return 1 |
2498 |
[[ ${GCCMAJOR} < 3 ]] && return 1 |
2500 |
case ${CTARGET} in |
2499 |
has_multilib_profile || use multilib |
2501 |
mips64*|powerpc64*|s390x*|sparc*|x86_64*) |
|
|
2502 |
has_multilib_profile || use multilib ;; |
2503 |
*-*-solaris*) use multilib ;; |
2504 |
*-apple-darwin*) use multilib ;; |
2505 |
*) false ;; |
2506 |
esac |
2507 |
} |
2500 |
} |
2508 |
|
2501 |
|
2509 |
is_cxx() { |
2502 |
is_cxx() { |