On Sun, Mar 4, 2018 at 10:43 AM, Dimitry Andric <d...@freebsd.org> wrote:

> Again, this depends on how exactly you are overriding CPUTYPE.


I'd suggest *NOT* setting CPUTYPE and instead using TARGET_CPUTYPE to do
these sorts of things. CPUTYPE is known to only work on native builds and
is tricky to do in this scenario just so. It might work for 'near cross'
builds, or it might not. TARGET_CPUTYPE overrides CPUTYPE that might be set
in weird places and generally works a lot better. You don't need to set
TARGET or TARGET_ARCH to do this, but it would work if you did that also.

Warner
_______________________________________________
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to