Lines 74-85
glibc_do_configure() {
Link Here
|
74 |
--host=${CTARGET_OPT:-${CTARGET}} |
74 |
--host=${CTARGET_OPT:-${CTARGET}} |
75 |
$(use_enable profile) |
75 |
$(use_enable profile) |
76 |
$(use_with gd) |
76 |
$(use_with gd) |
77 |
--with-headers=$(alt_build_headers) |
77 |
--with-headers="${EPREFIX}$(alt_build_headers)" |
78 |
--prefix=/usr |
78 |
--prefix="${TPREFIX}/usr" |
79 |
--libdir=/usr/$(get_libdir) |
79 |
--libdir="${TPREFIX}/usr/$(get_libdir)" |
80 |
--mandir=/usr/share/man |
80 |
--mandir="${TPREFIX}/usr/share/man" |
81 |
--infodir=/usr/share/info |
81 |
--infodir="${TPREFIX}/usr/share/info" |
82 |
--libexecdir=/usr/$(get_libdir)/misc/glibc |
82 |
--libexecdir="${TPREFIX}/usr/$(get_libdir)/misc/glibc" |
|
|
83 |
--sysconfdir="${TPREFIX}/etc" |
84 |
--localstatedir="${TPREFIX}/var" |
83 |
--with-bugurl=http://bugs.gentoo.org/ |
85 |
--with-bugurl=http://bugs.gentoo.org/ |
84 |
--with-pkgversion="$(glibc_banner)" |
86 |
--with-pkgversion="$(glibc_banner)" |
85 |
$(use_multiarch || echo --disable-multi-arch) |
87 |
$(use_multiarch || echo --disable-multi-arch) |
Lines 91-97
glibc_do_configure() {
Link Here
|
91 |
|
93 |
|
92 |
# There is no configure option for this and we need to export it |
94 |
# There is no configure option for this and we need to export it |
93 |
# since the glibc build will re-run configure on itself |
95 |
# since the glibc build will re-run configure on itself |
94 |
export libc_cv_slibdir=/$(get_libdir) |
96 |
export libc_cv_slibdir="${TPREFIX}/$(get_libdir)" |
95 |
|
97 |
|
96 |
# We take care of patching our binutils to use both hash styles, |
98 |
# We take care of patching our binutils to use both hash styles, |
97 |
# and many people like to force gnu hash style only, so disable |
99 |
# and many people like to force gnu hash style only, so disable |
Lines 199-206
toolchain-glibc_headers_compile() {
Link Here
|
199 |
--enable-bind-now |
201 |
--enable-bind-now |
200 |
--build=${CBUILD_OPT:-${CBUILD}} |
202 |
--build=${CBUILD_OPT:-${CBUILD}} |
201 |
--host=${CTARGET_OPT:-${CTARGET}} |
203 |
--host=${CTARGET_OPT:-${CTARGET}} |
202 |
--with-headers=$(alt_build_headers) |
204 |
--with-headers="${EPREFIX}$(alt_build_headers)" |
203 |
--prefix=/usr |
205 |
--prefix="${TPREFIX}/usr" |
204 |
${EXTRA_ECONF} |
206 |
${EXTRA_ECONF} |
205 |
) |
207 |
) |
206 |
|
208 |
|