Lines 6-12
Link Here
|
6 |
local builddir=$(builddir $(want_linuxthreads && echo linuxthreads || echo nptl)) |
6 |
local builddir=$(builddir $(want_linuxthreads && echo linuxthreads || echo nptl)) |
7 |
cd "${builddir}" |
7 |
cd "${builddir}" |
8 |
|
8 |
|
9 |
emake install_root="${D}$(alt_prefix)" install || die |
9 |
emake install_root="${ED}$(alt_prefix)" install || die |
10 |
|
10 |
|
11 |
if want_linuxthreads && want_nptl ; then |
11 |
if want_linuxthreads && want_nptl ; then |
12 |
einfo "Installing NPTL to $(alt_libdir)/tls/..." |
12 |
einfo "Installing NPTL to $(alt_libdir)/tls/..." |
Lines 102-108
Link Here
|
102 |
has ${ldso_abi} $(get_install_abis) || continue |
102 |
has ${ldso_abi} $(get_install_abis) || continue |
103 |
|
103 |
|
104 |
ldso_name="$(alt_prefix)${ldso_abi_list[i+1]}" |
104 |
ldso_name="$(alt_prefix)${ldso_abi_list[i+1]}" |
105 |
if [[ ! -L ${D}/${ldso_name} && ! -e ${D}/${ldso_name} ]] ; then |
105 |
if [[ ! -L ${ED}/${ldso_name} && ! -e ${ED}/${ldso_name} ]] ; then |
106 |
dosym ../$(get_abi_LIBDIR ${ldso_abi})/${ldso_name##*/} ${ldso_name} |
106 |
dosym ../$(get_abi_LIBDIR ${ldso_abi})/${ldso_name##*/} ${ldso_name} |
107 |
fi |
107 |
fi |
108 |
done |
108 |
done |
Lines 111-117
Link Here
|
111 |
# binary to be setuid. This is because the default owners/perms will be |
111 |
# binary to be setuid. This is because the default owners/perms will be |
112 |
# exactly what we want. |
112 |
# exactly what we want. |
113 |
if in_iuse suid && ! use suid ; then |
113 |
if in_iuse suid && ! use suid ; then |
114 |
find "${D}" -name pt_chown -exec chmod -s {} + |
114 |
find "${ED}" -name pt_chown -exec chmod -s {} + |
115 |
fi |
115 |
fi |
116 |
|
116 |
|
117 |
################################################################# |
117 |
################################################################# |
Lines 202-208
Link Here
|
202 |
toolchain-glibc_headers_install() { |
202 |
toolchain-glibc_headers_install() { |
203 |
local builddir=$(builddir "headers") |
203 |
local builddir=$(builddir "headers") |
204 |
cd "${builddir}" |
204 |
cd "${builddir}" |
205 |
emake install_root="${D}$(alt_prefix)" install-headers || die |
205 |
emake install_root="${ED}$(alt_prefix)" install-headers || die |
206 |
if ! version_is_at_least 2.16 ; then |
206 |
if ! version_is_at_least 2.16 ; then |
207 |
insinto $(alt_headers)/bits |
207 |
insinto $(alt_headers)/bits |
208 |
doins bits/stdio_lim.h || die |
208 |
doins bits/stdio_lim.h || die |