From: Sergei Trofimovich Date: Thu, 16 Apr 2020 07:42:33 +0000 (+0100) Subject: sys-libs/newlib: add early error for msp430 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c53a6004192d8b595c7a7ad0b24e23ac2b922249;p=gentoo.git sys-libs/newlib: add early error for msp430 Reported-by: tomtom69 Bug: https://bugs.gentoo.org/717610 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Sergei Trofimovich --- diff --git a/sys-libs/newlib/newlib-3.3.0.ebuild b/sys-libs/newlib/newlib-3.3.0.ebuild index db1a3fad9cfb..95217157d87a 100644 --- a/sys-libs/newlib/newlib-3.3.0.ebuild +++ b/sys-libs/newlib/newlib-3.3.0.ebuild @@ -48,6 +48,13 @@ pkg_setup() { *) die "Use sys-devel/crossdev to build a newlib toolchain" ;; esac fi + + case ${CTARGET} in + msp430*) + # bug #717610 + die "gcc on ${CTARGET} needs older newlib. Use newlib-3.1.0." + ;; + esac } src_configure() {