Re: the clang compiler does not support '-march=native'

From: linimon_at_portsmon.org linimon_at_portsmon.org <linimon_at_portsmon.org>
Date: Tue, 15 Jun 2021 15:05:53 -0500 (CDT)
> On 06/14/2021 3:18 PM Dimitry Andric <dim_at_freebsd.org> wrote:
> No, this is because whatever you are trying to compile has apparently
> hardcoded "-march=native" in its compile flags. Try removing that. :)

fwiw we turn this off in FreeBSD ports, because the FreeBSD package builders are set up to do cross-compiles.

mcl
Received on Tue Jun 15 2021 - 20:05:53 UTC

Original text of this message