Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Mar 2019 18:17:36 -0300
From:      =?utf-8?Q?Lucas_Nali_de_Magalh=C3=A3es?= <rollingbits@gmail.com>
To:        Warner Losh <imp@bsdimp.com>
Cc:        "Rodney W. Grimes" <rgrimes@freebsd.org>, Konstantin Belousov <kostikbel@gmail.com>, Dimitry Andric <dim@freebsd.org>, stable@freebsd.org, Ed Maste <emaste@freebsd.org>
Subject:   Re: FreeBSD 12.0 RELEASE i386 can not build a kernel?
Message-ID:  <C0E353D6-0619-4926-B74A-023F1523F1B1@gmail.com>
In-Reply-To: <CANCZdfoQM-rvzV3GxcKrKyZHyD77YwkKbnEOz%2BmWGaPRE4Mq1Q@mail.gmail.com>
References:  <CAPyFy2Ciibwn0QyR7m-vCiLRErHYHrNU-QVge2eqPbH0xkbqRg@mail.gmail.com> <201902281659.x1SGxP7X057343@pdx.rh.CN85.dnsmgr.net> <CANCZdfoQM-rvzV3GxcKrKyZHyD77YwkKbnEOz%2BmWGaPRE4Mq1Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

> On Feb 28, 2019, at 7:40 PM, Warner Losh <imp@bsdimp.com> wrote:
> 
> On Thu, Feb 28, 2019 at 10:00 AM Rodney W. Grimes <
> freebsd@pdx.rh.cn85.dnsmgr.net> wrote:
> 
> .if defined(KERNEL_LD_OVERRIDE)
> LD=${KERNEL_LD_OVERRIDE}
> .else
> LD=ld.lld
> .endif

My suggestion would be to test $LD == ld  and then use LD=ld.lld with a comment about the reason but my makefile syntax knowledge is limited.

Lc

-- 
rollingbits — 📧 rollingbits@gmail.com 📧 rollingbits@terra.com.br 📧 rollingbits@yahoo.com 📧 rollingbits@globo.com 📧 rollingbits@icloud.com




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C0E353D6-0619-4926-B74A-023F1523F1B1>