Date: Thu, 28 Jun 2018 19:01:53 +0000 (UTC) From: Bryan Drewery <bdrewery@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r335771 - head Message-ID: <201806281901.w5SJ1rdP092678@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bdrewery Date: Thu Jun 28 19:01:53 2018 New Revision: 335771 URL: https://svnweb.freebsd.org/changeset/base/335771 Log: SYSTEM_COMPILER/LINKER: Fix cross-build support after r335706. X-MFC-With: r335706 MFC after: 2 weeks Sponsored by: Dell EMC Modified: head/Makefile.inc1 Modified: head/Makefile.inc1 ============================================================================== --- head/Makefile.inc1 Thu Jun 28 18:22:20 2018 (r335770) +++ head/Makefile.inc1 Thu Jun 28 19:01:53 2018 (r335771) @@ -132,7 +132,7 @@ TARGET_TRIPLE?= ${TARGET_ARCH:S/amd64/x86_64/:C/hf$//: # If all targets are disabled for system llvm then don't expect it to work # for cross-builds. -.if ${MK_LLVM_TARGET_ALL} == "no" && \ +.if !defined(TOOLS_PREFIX) && ${MK_LLVM_TARGET_ALL} == "no" && \ ${MACHINE} != ${TARGET} && ${MACHINE_ARCH} != ${TARGET_ARCH} && \ !make(showconfig) MK_SYSTEM_COMPILER= no
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806281901.w5SJ1rdP092678>