diff options
author | Aric Belsito <lluixhi@gmail.com> | 2018-05-03 11:30:36 -0700 |
---|---|---|
committer | Aric Belsito <lluixhi@gmail.com> | 2018-05-03 11:30:36 -0700 |
commit | ee289ee31cd6d54e23d13e025399a47959ff4304 (patch) | |
tree | 46725a0ad0a528521c4aef1845bef7980f4941ea | |
parent | sys-block/thin-provisioning-tools: bump to 0.7.6 (diff) | |
download | musl-ee289ee3.tar.gz musl-ee289ee3.tar.bz2 musl-ee289ee3.zip |
toolchain.eclass: sync with upstream
-rw-r--r-- | eclass/toolchain.eclass | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index dee6a889..47e99ac3 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;; |