Date: Fri, 6 Nov 2015 16:56:46 -0800 From: Bryan Drewery <bdrewery@FreeBSD.org> To: Warner Losh <imp@FreeBSD.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r290417 - head Message-ID: <563D4C4E.2050209@FreeBSD.org> In-Reply-To: <201511052148.tA5LmCNg042187@repo.freebsd.org> References: <201511052148.tA5LmCNg042187@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --hV1GCsQx5IOReIVG5M6SfH6QHvDLxqncb Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 11/5/2015 1:48 PM, Warner Losh wrote: > -.include "share/mk/src.opts.mk" > -.include <bsd.arch.inc.mk> > -.include <bsd.compiler.mk> Fun fact, src.opts.mk is already including bsd.compiler.mk so it being here is redundant (since r263953 removed direct checks in COMPILER_TYPE/VERSION). > +# Cross toolchain changes must be in effect before bsd.compiler.mk > +# so that gets the right CC, and pass CROSS_TOOLCHAIN to submakes. > +.if defined(CROSS_TOOLCHAIN) > +LOCALBASE?=3D /usr/local > +.include "${LOCALBASE}/share/toolchains/${CROSS_TOOLCHAIN}.mk" > +CROSSENV+=3DCROSS_TOOLCHAIN=3D"${CROSS_TOOLCHAIN}" > +.endif > +.include <bsd.compiler.mk> # don't depend on src.opts.mk doing it > +.include "share/mk/src.opts.mk"=09 --=20 Regards, Bryan Drewery --hV1GCsQx5IOReIVG5M6SfH6QHvDLxqncb Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJWPUxOAAoJEDXXcbtuRpfPwRgH/jrxkY7iMOOKjRHsnEkCeGCd KV+lWPTDfPmiUn7IUWYY/uHYy2wHd5oxlOjp2FOsBHxW9ZUlqAtv6wYoSkwURz0X +glVnQwRwPbnDbEckCNUAa1YIpe4JkQfWJOiLYAk8+NpPYlLqshI/WGmgIWfZGul 2YrdJPaXJP5HhQBu16LfGvZ6dvSf31B9OhWj0y37D4RLDsXlenLpARKLUy/funSE f4XQDo03BAwdTMFa4ZRNDeumiTpM0oU4kkzbZN3gfvw/xe7fjYEeYdHVEgxTvuXJ kz02BEYdMTWvaPPEINJhgQOVbAUf/WH7iD8QYXTbDpcgT06BgGoqP8jHNT24ajM= =WtpU -----END PGP SIGNATURE----- --hV1GCsQx5IOReIVG5M6SfH6QHvDLxqncb--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?563D4C4E.2050209>