Lines 228-244
Link Here
|
228 |
} |
228 |
} |
229 |
|
229 |
|
230 |
toolchain-glibc_src_compile() { |
230 |
toolchain-glibc_src_compile() { |
|
|
231 |
# Set gconvdir to /usr/$(get_libdir)/gconv on archs with multiple ABIs |
232 |
has_multilib_profile && MAKEFLAGS="gconvdir=$(alt_usrlibdir)/gconv" |
233 |
|
231 |
if want_linuxthreads ; then |
234 |
if want_linuxthreads ; then |
232 |
glibc_do_configure linuxthreads |
235 |
glibc_do_configure linuxthreads |
233 |
einfo "Building GLIBC with linuxthreads..." |
236 |
einfo "Building GLIBC with linuxthreads..." |
234 |
make PARALLELMFLAGS="${MAKEOPTS}" || die |
237 |
make PARALLELMFLAGS="${MAKEOPTS}" ${MAKEFLAGS} || die |
235 |
fi |
238 |
fi |
236 |
if want_nptl ; then |
239 |
if want_nptl ; then |
237 |
# ... and then do the optional nptl build |
240 |
# ... and then do the optional nptl build |
238 |
unset LD_ASSUME_KERNEL || : |
241 |
unset LD_ASSUME_KERNEL || : |
239 |
glibc_do_configure nptl |
242 |
glibc_do_configure nptl |
240 |
einfo "Building GLIBC with NPTL..." |
243 |
einfo "Building GLIBC with NPTL..." |
241 |
make PARALLELMFLAGS="${MAKEOPTS}" || die |
244 |
make PARALLELMFLAGS="${MAKEOPTS}" ${MAKEFLAGS} || die |
242 |
fi |
245 |
fi |
243 |
} |
246 |
} |
244 |
|
247 |
|