git: 6471380236ca - main - misc/air: fix build on powerpc64le

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Wed, 24 Apr 2024 21:21:42 UTC
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6471380236ca7307370a3cb0bfb957fd263db245

commit 6471380236ca7307370a3cb0bfb957fd263db245
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2024-04-18 23:59:35 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2024-04-24 21:21:08 +0000

    misc/air: fix build on powerpc64le
    
      cargo:warning=/usr/local/llvm15/lib/clang/15.0.7/include/ppc_wrappers/pmmintrin.h:35:2: error: "Please read comment above.  Use -DNO_WARN_X86_INTRINSICS to disable this warning."
---
 misc/air/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/misc/air/Makefile b/misc/air/Makefile
index 2e9002e90045..8893fbf32e9b 100644
--- a/misc/air/Makefile
+++ b/misc/air/Makefile
@@ -210,6 +210,8 @@ CARGO_CRATES=	addr2line-0.21.0 \
 		windows_x86_64_msvc-0.52.0 \
 		winreg-0.50.0
 
+CFLAGS_powerpc64le=	-DNO_WARN_X86_INTRINSICS
+
 OPENSSLINC=	/usr/include
 OPENSSLLIB=	/usr/lib