summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--math/hpipm/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/math/hpipm/Makefile b/math/hpipm/Makefile
index d29d4ea76854..973dcd106cd9 100644
--- a/math/hpipm/Makefile
+++ b/math/hpipm/Makefile
@@ -17,4 +17,10 @@ USES= cmake localbase
USE_GITHUB= yes
GH_ACCOUNT= giaf
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} != amd64 && ${ARCH} != i386
+CMAKE_ARGS+= -DAVX:BOOL=OFF
+.endif
+
+.include <bsd.port.post.mk>