Date: Thu, 31 Oct 2013 17:56:27 +0000 (UTC) From: Brooks Davis <brooks@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r257459 - stable/10/gnu/usr.bin/binutils/ld Message-ID: <201310311756.r9VHuRbV093773@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: brooks Date: Thu Oct 31 17:56:27 2013 New Revision: 257459 URL: http://svnweb.freebsd.org/changeset/base/257459 Log: MFC r257268: Enable the --sysroot=/foo option in ld by always building with a sysroot defined. When not building as a cross linker, the sysroot is set to "/". Exp-run by: bdrewery (ports/183206) Approved by: re (gjb) Modified: stable/10/gnu/usr.bin/binutils/ld/Makefile Directory Properties: stable/10/gnu/usr.bin/binutils/ (props changed) Modified: stable/10/gnu/usr.bin/binutils/ld/Makefile ============================================================================== --- stable/10/gnu/usr.bin/binutils/ld/Makefile Thu Oct 31 17:33:29 2013 (r257458) +++ stable/10/gnu/usr.bin/binutils/ld/Makefile Thu Oct 31 17:56:27 2013 (r257459) @@ -31,7 +31,7 @@ CFLAGS+= -DTARGET=\"${TARGET_TUPLE}\" CFLAGS+= -DDEFAULT_EMULATION=\"${NATIVE_EMULATION}\" CFLAGS+= -DSCRIPTDIR=\"${TOOLS_PREFIX}/usr/libdata\" CFLAGS+= -DBFD_VERSION_STRING=\"${VERSION}\" -CFLAGS+= -DBINDIR=\"${BINDIR}\" -DTARGET_SYSTEM_ROOT=\"${TOOLS_PREFIX}\" +CFLAGS+= -DBINDIR=\"${BINDIR}\" -DTARGET_SYSTEM_ROOT=\"${TOOLS_PREFIX:U/}\" CFLAGS+= -DTOOLBINDIR=\"${TOOLS_PREFIX}/${BINDIR}/libexec\" CFLAGS+= -D_GNU_SOURCE CFLAGS+= -I${SRCDIR}/ld -I${SRCDIR}/bfd
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310311756.r9VHuRbV093773>