From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5894D1382C5 for ; Thu, 3 May 2018 18:31:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7372DE0AA3; Thu, 3 May 2018 18:31:08 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5132EE0AA3 for ; Thu, 3 May 2018 18:31:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E747E335C60 for ; Thu, 3 May 2018 18:31:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8BB812C for ; Thu, 3 May 2018 18:31:04 +0000 (UTC) From: "Aric Belsito" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Aric Belsito" Message-ID: <1525372236.ee289ee31cd6d54e23d13e025399a47959ff4304.lluixhi@gentoo> Subject: [gentoo-commits] proj/musl:master commit in: eclass/ X-VCS-Repository: proj/musl X-VCS-Files: eclass/toolchain.eclass X-VCS-Directories: eclass/ X-VCS-Committer: lluixhi X-VCS-Committer-Name: Aric Belsito X-VCS-Revision: ee289ee31cd6d54e23d13e025399a47959ff4304 X-VCS-Branch: master Date: Thu, 3 May 2018 18:31:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: ed9c8194-6f65-442f-b108-6ed8eac1e848 X-Archives-Hash: c969c4271a60a95330a2f917fff7dfb5 commit: ee289ee31cd6d54e23d13e025399a47959ff4304 Author: Aric Belsito gmail com> AuthorDate: Thu May 3 18:30:36 2018 +0000 Commit: Aric Belsito gmail com> CommitDate: Thu May 3 18:30:36 2018 +0000 URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=ee289ee3 toolchain.eclass: sync with upstream eclass/toolchain.eclass | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index dee6a88..47e99ac 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -206,11 +206,10 @@ DEPEND="${RDEPEND} if in_iuse gcj ; then GCJ_DEPS=">=media-libs/libart_lgpl-2.1" GCJ_GTK_DEPS=" + x11-base/xorg-proto x11-libs/libXt x11-libs/libX11 x11-libs/libXtst - x11-proto/xproto - x11-proto/xextproto =x11-libs/gtk+-2* virtual/pkgconfig " @@ -972,7 +971,14 @@ toolchain_src_configure() { case ${CTARGET} in *-linux) needed_libc=no-fucking-clue;; *-dietlibc) needed_libc=dietlibc;; - *-elf|*-eabi) needed_libc=newlib;; + *-elf|*-eabi) + needed_libc=newlib + # Bare-metal targets don't have access to clock_gettime() + # arm-none-eabi example: bug #589672 + # But we explicitly do --enable-libstdcxx-time above. + # Undoing it here. + confgcc+=( --disable-libstdcxx-time ) + ;; *-freebsd*) needed_libc=freebsd-lib;; *-gnu*) needed_libc=glibc;; *-klibc) needed_libc=klibc;;