git: b0cc9e36a63e - main - math/octave-forge-llms: fix build on non-amd64 / non-i386

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Sun, 01 Feb 2026 16:57:37 UTC
The branch main has been updated by pkubaj:

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

commit b0cc9e36a63e001fd56dad9387f0fa3d87759cc8
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2026-01-31 13:10:32 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2026-02-01 16:57:32 +0000

    math/octave-forge-llms: fix build on non-amd64 / non-i386
    
    Those instructions are x86-only.
---
 math/octave-forge-llms/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/math/octave-forge-llms/Makefile b/math/octave-forge-llms/Makefile
index c226ac36185e..489210f2eff5 100644
--- a/math/octave-forge-llms/Makefile
+++ b/math/octave-forge-llms/Makefile
@@ -17,7 +17,8 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	pr0m1th3as
 GH_PROJECT=	octave-llms
 
-CXXFLAGS+=	-mpclmul -msse4.1
+CXXFLAGS_amd64=	-mpclmul -msse4.1
+CXXFLAGS_i386=	-mpclmul -msse4.1
 
 IGNORE_arm64=	does not build