Gentoo Archives: gentoo-commits

From: Aric Belsito <lluixhi@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/musl:master commit in: eclass/
Date: Thu, 03 May 2018 18:31:09
Message-Id: 1525372236.ee289ee31cd6d54e23d13e025399a47959ff4304.lluixhi@gentoo
1 commit: ee289ee31cd6d54e23d13e025399a47959ff4304
2 Author: Aric Belsito <lluixhi <AT> gmail <DOT> com>
3 AuthorDate: Thu May 3 18:30:36 2018 +0000
4 Commit: Aric Belsito <lluixhi <AT> gmail <DOT> com>
5 CommitDate: Thu May 3 18:30:36 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=ee289ee3
7
8 toolchain.eclass: sync with upstream
9
10 eclass/toolchain.eclass | 12 +++++++++---
11 1 file changed, 9 insertions(+), 3 deletions(-)
12
13 diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
14 index dee6a88..47e99ac 100644
15 --- a/eclass/toolchain.eclass
16 +++ b/eclass/toolchain.eclass
17 @@ -206,11 +206,10 @@ DEPEND="${RDEPEND}
18 if in_iuse gcj ; then
19 GCJ_DEPS=">=media-libs/libart_lgpl-2.1"
20 GCJ_GTK_DEPS="
21 + x11-base/xorg-proto
22 x11-libs/libXt
23 x11-libs/libX11
24 x11-libs/libXtst
25 - x11-proto/xproto
26 - x11-proto/xextproto
27 =x11-libs/gtk+-2*
28 virtual/pkgconfig
29 "
30 @@ -972,7 +971,14 @@ toolchain_src_configure() {
31 case ${CTARGET} in
32 *-linux) needed_libc=no-fucking-clue;;
33 *-dietlibc) needed_libc=dietlibc;;
34 - *-elf|*-eabi) needed_libc=newlib;;
35 + *-elf|*-eabi)
36 + needed_libc=newlib
37 + # Bare-metal targets don't have access to clock_gettime()
38 + # arm-none-eabi example: bug #589672
39 + # But we explicitly do --enable-libstdcxx-time above.
40 + # Undoing it here.
41 + confgcc+=( --disable-libstdcxx-time )
42 + ;;
43 *-freebsd*) needed_libc=freebsd-lib;;
44 *-gnu*) needed_libc=glibc;;
45 *-klibc) needed_libc=klibc;;