1 |
commit: 09dbbf679f35d0cce0b1f453e5a4efbcb99872bb |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 2 07:01:38 2020 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 2 07:03:31 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09dbbf67 |
7 |
|
8 |
sys-libs/glibc: set correct cross-CC for sparc32 |
9 |
|
10 |
Commit "sys-libs/glibc: Drop SPARC CHOST mangling" |
11 |
exposed a old bug where we were setting CC=${CTARGET_OPT}. |
12 |
|
13 |
But we don't have ${CTARGET_OPT}-gcc or anything else |
14 |
and thus fallback to 'gcc' happens. |
15 |
|
16 |
Always use CC=${CTARGET}. |
17 |
|
18 |
Package-Manager: Portage-2.3.96, Repoman-2.3.22 |
19 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
20 |
|
21 |
sys-libs/glibc/glibc-2.29-r7.ebuild | 2 +- |
22 |
sys-libs/glibc/glibc-2.30-r6.ebuild | 2 +- |
23 |
sys-libs/glibc/glibc-2.31-r2.ebuild | 2 +- |
24 |
sys-libs/glibc/glibc-9999.ebuild | 2 +- |
25 |
4 files changed, 4 insertions(+), 4 deletions(-) |
26 |
|
27 |
diff --git a/sys-libs/glibc/glibc-2.29-r7.ebuild b/sys-libs/glibc/glibc-2.29-r7.ebuild |
28 |
index 1ffe9800d1d..6492f3e4bee 100644 |
29 |
--- a/sys-libs/glibc/glibc-2.29-r7.ebuild |
30 |
+++ b/sys-libs/glibc/glibc-2.29-r7.ebuild |
31 |
@@ -446,7 +446,7 @@ setup_env() { |
32 |
# configure script checks CFLAGS for some targets (like mips). Keep |
33 |
# around the original clean value to avoid appending multiple ABIs on |
34 |
# top of each other. |
35 |
- : ${__GLIBC_CC:=$(tc-getCC ${CTARGET_OPT:-${CTARGET}})} |
36 |
+ : ${__GLIBC_CC:=$(tc-getCC ${CTARGET})} |
37 |
export __GLIBC_CC CC="${__GLIBC_CC} ${!VAR}" |
38 |
einfo " $(printf '%15s' 'Manual CC:') ${CC}" |
39 |
} |
40 |
|
41 |
diff --git a/sys-libs/glibc/glibc-2.30-r6.ebuild b/sys-libs/glibc/glibc-2.30-r6.ebuild |
42 |
index 00846478a13..779353d0f84 100644 |
43 |
--- a/sys-libs/glibc/glibc-2.30-r6.ebuild |
44 |
+++ b/sys-libs/glibc/glibc-2.30-r6.ebuild |
45 |
@@ -472,7 +472,7 @@ setup_env() { |
46 |
# configure script checks CFLAGS for some targets (like mips). Keep |
47 |
# around the original clean value to avoid appending multiple ABIs on |
48 |
# top of each other. |
49 |
- : ${__GLIBC_CC:=$(tc-getCC ${CTARGET_OPT:-${CTARGET}})} |
50 |
+ : ${__GLIBC_CC:=$(tc-getCC ${CTARGET})} |
51 |
export __GLIBC_CC CC="${__GLIBC_CC} ${!VAR}" |
52 |
einfo " $(printf '%15s' 'Manual CC:') ${CC}" |
53 |
} |
54 |
|
55 |
diff --git a/sys-libs/glibc/glibc-2.31-r2.ebuild b/sys-libs/glibc/glibc-2.31-r2.ebuild |
56 |
index a46143ef0a5..db866fbf1a2 100644 |
57 |
--- a/sys-libs/glibc/glibc-2.31-r2.ebuild |
58 |
+++ b/sys-libs/glibc/glibc-2.31-r2.ebuild |
59 |
@@ -463,7 +463,7 @@ setup_env() { |
60 |
# configure script checks CFLAGS for some targets (like mips). Keep |
61 |
# around the original clean value to avoid appending multiple ABIs on |
62 |
# top of each other. |
63 |
- : ${__GLIBC_CC:=$(tc-getCC ${CTARGET_OPT:-${CTARGET}})} |
64 |
+ : ${__GLIBC_CC:=$(tc-getCC ${CTARGET})} |
65 |
export __GLIBC_CC CC="${__GLIBC_CC} ${!VAR}" |
66 |
einfo " $(printf '%15s' 'Manual CC:') ${CC}" |
67 |
} |
68 |
|
69 |
diff --git a/sys-libs/glibc/glibc-9999.ebuild b/sys-libs/glibc/glibc-9999.ebuild |
70 |
index 38268c5f937..ca721953558 100644 |
71 |
--- a/sys-libs/glibc/glibc-9999.ebuild |
72 |
+++ b/sys-libs/glibc/glibc-9999.ebuild |
73 |
@@ -462,7 +462,7 @@ setup_env() { |
74 |
# configure script checks CFLAGS for some targets (like mips). Keep |
75 |
# around the original clean value to avoid appending multiple ABIs on |
76 |
# top of each other. |
77 |
- : ${__GLIBC_CC:=$(tc-getCC ${CTARGET_OPT:-${CTARGET}})} |
78 |
+ : ${__GLIBC_CC:=$(tc-getCC ${CTARGET})} |
79 |
export __GLIBC_CC CC="${__GLIBC_CC} ${!VAR}" |
80 |
einfo " $(printf '%15s' 'Manual CC:') ${CC}" |
81 |
} |