diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2020-04-02 08:01:38 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2020-04-02 08:03:31 +0100 |
commit | 09dbbf679f35d0cce0b1f453e5a4efbcb99872bb (patch) | |
tree | d465650fe93266b91d399bb3263abcc2007d2d0b /sys-libs/glibc/glibc-9999.ebuild | |
parent | sys-libs/libunwind: When USE="lzma", depend on app-arch/xz-utils[static-libs?]. (diff) | |
download | gentoo-09dbbf679f35d0cce0b1f453e5a4efbcb99872bb.tar.gz gentoo-09dbbf679f35d0cce0b1f453e5a4efbcb99872bb.tar.bz2 gentoo-09dbbf679f35d0cce0b1f453e5a4efbcb99872bb.zip |
sys-libs/glibc: set correct cross-CC for sparc32
Commit "sys-libs/glibc: Drop SPARC CHOST mangling"
exposed a old bug where we were setting CC=${CTARGET_OPT}.
But we don't have ${CTARGET_OPT}-gcc or anything else
and thus fallback to 'gcc' happens.
Always use CC=${CTARGET}.
Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'sys-libs/glibc/glibc-9999.ebuild')
-rw-r--r-- | sys-libs/glibc/glibc-9999.ebuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-libs/glibc/glibc-9999.ebuild b/sys-libs/glibc/glibc-9999.ebuild index 38268c5f9372..ca7219535589 100644 --- a/sys-libs/glibc/glibc-9999.ebuild +++ b/sys-libs/glibc/glibc-9999.ebuild @@ -462,7 +462,7 @@ setup_env() { # configure script checks CFLAGS for some targets (like mips). Keep # around the original clean value to avoid appending multiple ABIs on # top of each other. - : ${__GLIBC_CC:=$(tc-getCC ${CTARGET_OPT:-${CTARGET}})} + : ${__GLIBC_CC:=$(tc-getCC ${CTARGET})} export __GLIBC_CC CC="${__GLIBC_CC} ${!VAR}" einfo " $(printf '%15s' 'Manual CC:') ${CC}" } |