1 |
commit: 7c1ace82e82ecebd13ac180bb0d1e6d82258e99b |
2 |
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Dec 25 09:28:55 2019 +0000 |
4 |
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Dec 25 10:57:58 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c1ace82 |
7 |
|
8 |
sys-libs/glibc: cross-*: pass EPREFIX to --with-headers |
9 |
|
10 |
This is a follow up of ea4cbdc9159c0ebbd29d4062bbb314393a8cc32f. |
11 |
|
12 |
Otherwise when building cross toolchain on Gentoo Prefix, configure cannot |
13 |
find the needed linux-headers. |
14 |
|
15 |
Bug: https://bugs.gentoo.org/642604 |
16 |
Package-Manager: Portage-2.3.79, Repoman-2.3.18 |
17 |
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org> |
18 |
|
19 |
sys-libs/glibc/glibc-2.30-r3.ebuild | 4 ++-- |
20 |
sys-libs/glibc/glibc-9999.ebuild | 4 ++-- |
21 |
2 files changed, 4 insertions(+), 4 deletions(-) |
22 |
|
23 |
diff --git a/sys-libs/glibc/glibc-2.30-r3.ebuild b/sys-libs/glibc/glibc-2.30-r3.ebuild |
24 |
index 7bbdf0c882a..393684b8a8b 100644 |
25 |
--- a/sys-libs/glibc/glibc-2.30-r3.ebuild |
26 |
+++ b/sys-libs/glibc/glibc-2.30-r3.ebuild |
27 |
@@ -929,7 +929,7 @@ glibc_do_configure() { |
28 |
--host=${CTARGET_OPT:-${CTARGET}} |
29 |
$(use_enable profile) |
30 |
$(use_with gd) |
31 |
- --with-headers=$(alt_build_headers) |
32 |
+ --with-headers=$(build_eprefix)$(alt_build_headers) |
33 |
--prefix="$(host_eprefix)/usr" |
34 |
--sysconfdir="$(host_eprefix)/etc" |
35 |
--localstatedir="$(host_eprefix)/var" |
36 |
@@ -1084,7 +1084,7 @@ glibc_headers_configure() { |
37 |
--enable-bind-now |
38 |
--build=${CBUILD_OPT:-${CBUILD}} |
39 |
--host=${CTARGET_OPT:-${CTARGET}} |
40 |
- --with-headers=$(alt_build_headers) |
41 |
+ --with-headers=$(build_eprefix)$(alt_build_headers) |
42 |
--prefix="$(host_eprefix)/usr" |
43 |
${EXTRA_ECONF} |
44 |
) |
45 |
|
46 |
diff --git a/sys-libs/glibc/glibc-9999.ebuild b/sys-libs/glibc/glibc-9999.ebuild |
47 |
index a3d9d33a368..94ff23bb27e 100644 |
48 |
--- a/sys-libs/glibc/glibc-9999.ebuild |
49 |
+++ b/sys-libs/glibc/glibc-9999.ebuild |
50 |
@@ -929,7 +929,7 @@ glibc_do_configure() { |
51 |
--host=${CTARGET_OPT:-${CTARGET}} |
52 |
$(use_enable profile) |
53 |
$(use_with gd) |
54 |
- --with-headers=$(alt_build_headers) |
55 |
+ --with-headers=$(build_eprefix)$(alt_build_headers) |
56 |
--prefix="$(host_eprefix)/usr" |
57 |
--sysconfdir="$(host_eprefix)/etc" |
58 |
--localstatedir="$(host_eprefix)/var" |
59 |
@@ -1084,7 +1084,7 @@ glibc_headers_configure() { |
60 |
--enable-bind-now |
61 |
--build=${CBUILD_OPT:-${CBUILD}} |
62 |
--host=${CTARGET_OPT:-${CTARGET}} |
63 |
- --with-headers=$(alt_build_headers) |
64 |
+ --with-headers=$(build_eprefix)$(alt_build_headers) |
65 |
--prefix="$(host_eprefix)/usr" |
66 |
${EXTRA_ECONF} |
67 |
) |