Lines 106-117
glibc_do_configure() {
Link Here
|
106 |
--host=${CTARGET_OPT:-${CTARGET}} |
106 |
--host=${CTARGET_OPT:-${CTARGET}} |
107 |
$(use_enable profile) |
107 |
$(use_enable profile) |
108 |
$(use_with gd) |
108 |
$(use_with gd) |
109 |
--with-headers=$(alt_build_headers) |
109 |
--with-headers="$(alt_build_headers)" |
110 |
--prefix=/usr |
110 |
--prefix="${TPREFIX}"/usr |
111 |
--libdir=/usr/$(get_libdir) |
111 |
--sysconfdir="${TPREFIX}"/etc |
112 |
--mandir=/usr/share/man |
112 |
--localstatedir="${TPREFIX}"/var |
113 |
--infodir=/usr/share/info |
113 |
--libdir="${TPREFIX}"/usr/$(get_libdir) |
114 |
--libexecdir=/usr/$(get_libdir)/misc/glibc |
114 |
--mandir="${TPREFIX}"/usr/share/man |
|
|
115 |
--infodir="${TPREFIX}"/usr/share/info |
116 |
--libexecdir="${TPREFIX}"/usr/$(get_libdir)/misc/glibc |
115 |
--with-bugurl=http://bugs.gentoo.org/ |
117 |
--with-bugurl=http://bugs.gentoo.org/ |
116 |
--with-pkgversion="$(glibc_banner)" |
118 |
--with-pkgversion="$(glibc_banner)" |
117 |
$(use_multiarch || echo --disable-multi-arch) |
119 |
$(use_multiarch || echo --disable-multi-arch) |
Lines 123-129
glibc_do_configure() {
Link Here
|
123 |
|
125 |
|
124 |
# There is no configure option for this and we need to export it |
126 |
# There is no configure option for this and we need to export it |
125 |
# since the glibc build will re-run configure on itself |
127 |
# since the glibc build will re-run configure on itself |
126 |
export libc_cv_slibdir=/$(get_libdir) |
128 |
export libc_cv_slibdir=${TPREFIX}/$(get_libdir) |
127 |
|
129 |
|
128 |
# We take care of patching our binutils to use both hash styles, |
130 |
# We take care of patching our binutils to use both hash styles, |
129 |
# and many people like to force gnu hash style only, so disable |
131 |
# and many people like to force gnu hash style only, so disable |
Lines 219-226
toolchain-glibc_headers_configure() {
Link Here
|
219 |
--enable-bind-now |
221 |
--enable-bind-now |
220 |
--build=${CBUILD_OPT:-${CBUILD}} |
222 |
--build=${CBUILD_OPT:-${CBUILD}} |
221 |
--host=${CTARGET_OPT:-${CTARGET}} |
223 |
--host=${CTARGET_OPT:-${CTARGET}} |
222 |
--with-headers=$(alt_build_headers) |
224 |
--with-headers="$(alt_build_headers)" |
223 |
--prefix=/usr |
225 |
--prefix="${TPREFIX}"/usr |
224 |
${EXTRA_ECONF} |
226 |
${EXTRA_ECONF} |
225 |
) |
227 |
) |
226 |
|
228 |
|