Created attachment 227877 [details]
-march=native isn't valid on !x86 arches, it causes build failure.
Shouldn't we also drop -O2 as per Porters Handbook or does it get overridden?
Thanks for the patch.
I am committing a similar patch which has march=native conditional on the NATIVE option. Also removing -O2 which otherwise did stay in the compilation command line,
A commit in branch main references this bug:
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-09-13 17:20:46 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-09-13 17:25:03 +0000
audio/zita-jclient: Make march=native conditional on the new option NATIVE, and remove -O2
Reported by: mikael (submitted original patch)
audio/zita-jclient/Makefile | 7 ++++++-
audio/zita-jclient/files/patch-Makefile | 13 ++++++++++++-
2 files changed, 18 insertions(+), 2 deletions(-)