> On 31 Dec 2021, at 18:36, Chris Jones <[email protected]> wrote: > >> I was wondering if there is a simple scheme to detect on which type of >> architecture MacPorts is running. My problem here is that clang on M1 does >> not honour the -march flag and exits with an error. > > if {${os.arch} eq "arm"} { > … > }
Thanks Chris! Have a great evening and a wonderful 2022 (let’s hope that this sentence still makes sense…) Vincent
