Date: Thu, 26 Feb 2015 20:02:30 +0000 (UTC) From: Ed Maste <emaste@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r279328 - head Message-ID: <201502262002.t1QK2Uhi088430@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: emaste Date: Thu Feb 26 20:02:29 2015 New Revision: 279328 URL: https://svnweb.freebsd.org/changeset/base/279328 Log: Support CROSS_BINUTILS_PREFIX with in-tree compiler Reviewed by: bapt, imp Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D1974 Modified: head/Makefile.inc1 Modified: head/Makefile.inc1 ============================================================================== --- head/Makefile.inc1 Thu Feb 26 19:56:48 2015 (r279327) +++ head/Makefile.inc1 Thu Feb 26 20:02:29 2015 (r279328) @@ -371,7 +371,13 @@ XCFLAGS+= -target ${TARGET_TRIPLE} XCFLAGS+= --sysroot=${WORLDTMP} ${BFLAGS} XCXXFLAGS+= --sysroot=${WORLDTMP} ${BFLAGS} .endif +.else +.if defined(CROSS_BINUTILS_PREFIX) && exists(${CROSS_BINUTILS_PREFIX}) +BFLAGS+= -B${CROSS_BINUTILS_PREFIX} +XCFLAGS+= ${BFLAGS} +XCXXFLAGS+= ${BFLAGS} .endif +.endif # ${XCC:M/*} WMAKE= ${WMAKEENV} ${MAKE} ${WORLD_FLAGS} -f Makefile.inc1 DESTDIR=${WORLDTMP}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502262002.t1QK2Uhi088430>