vapier 15/05/25 08:39:36 Modified: toolchain-binutils.eclass Log: enable the poisoned system directories flags when cross-compiling (see the new 67_all_ld-poison-system-directories.patch in the Gentoo patchset)
Revision Changes Path 1.141 eclass/toolchain-binutils.eclass file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.141&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?rev=1.141&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain-binutils.eclass?r1=1.140&r2=1.141 Index: toolchain-binutils.eclass =================================================================== RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v retrieving revision 1.140 retrieving revision 1.141 diff -u -r1.140 -r1.141 --- toolchain-binutils.eclass 9 Feb 2015 19:34:02 -0000 1.140 +++ toolchain-binutils.eclass 25 May 2015 08:39:36 -0000 1.141 @@ -1,6 +1,6 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.140 2015/02/09 19:34:02 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.141 2015/05/25 08:39:36 vapier Exp $ # # Maintainer: Toolchain Ninjas <[email protected]> # @@ -271,7 +271,10 @@ use multitarget && myconf+=( --enable-targets=all --enable-64-bit-bfd ) [[ -n ${CBUILD} ]] && myconf+=( --build=${CBUILD} ) - is_cross && myconf+=( --with-sysroot="${EPREFIX}"/usr/${CTARGET} ) + is_cross && myconf+=( + --with-sysroot="${EPREFIX}"/usr/${CTARGET} + --enable-poison-system-directories + ) # glibc-2.3.6 lacks support for this ... so rather than force glibc-2.5+ # on everyone in alpha (for now), we'll just enable it when possible
