git: 944b51ca160c - main - misc/nn-insight: Fix build on aarch64

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Fri, 22 Jul 2022 06:33:11 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=944b51ca160cad61a387c3ed3ab407bb6e22659c

commit 944b51ca160cad61a387c3ed3ab407bb6e22659c
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-07-22 06:32:33 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-07-22 06:33:05 +0000

    misc/nn-insight: Fix build on aarch64
    
    Reported by:    fallout
---
 misc/nn-insight/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/misc/nn-insight/Makefile b/misc/nn-insight/Makefile
index 1b975b34e2c6..6203e7a50326 100644
--- a/misc/nn-insight/Makefile
+++ b/misc/nn-insight/Makefile
@@ -20,9 +20,12 @@ LIB_DEPENDS=	libcgraph.so:graphics/graphviz \
 		libtcmalloc.so:devel/google-perftools
 
 USES=		compiler:c++17-lang cmake pkgconfig qt:5
+USE_QT=		core gui svg widgets buildtools_build qmake_build
+
 USE_GITHUB=	yes
 GH_ACCOUNT=	yurivict
-USE_QT=		core gui svg widgets buildtools_build qmake_build
+
+CMAKE_ARGS_aarch64=	-DENABLE_NATIVE_OPTIMIZATIONS=OFF
 
 PLIST_FILES=	bin/nn-insight \
 		libexec/nn-insight/tf-lite-plugin.so