aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Clausecker <fuz@FreeBSD.org>2025-08-30 09:36:12 +0000
committerRobert Clausecker <fuz@FreeBSD.org>2025-09-02 21:07:24 +0000
commitd6e564cd057376640f7b5f8094552eee4e949686 (patch)
tree94a59b6eb1582e750189a0d5f0737c25a619271d
parente8d2df1d19269e3fdd4e0c1d0ee65592fa1dc3b8 (diff)
cad/ngspice_rework: fix build on armv7
Disable OpenMP where it is not supported. MFH: 2025Q3 Approved by: portmgr (build fix blanket)
-rw-r--r--cad/ngspice_rework/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/cad/ngspice_rework/Makefile b/cad/ngspice_rework/Makefile
index a22de9aa3ab3..1235e2345bc2 100644
--- a/cad/ngspice_rework/Makefile
+++ b/cad/ngspice_rework/Makefile
@@ -21,8 +21,10 @@ shlib_PLIST= ${MASTERDIR}/pkg-plist-shlib
USES= compiler:c11 gmake libtool ncurses readline autoreconf pkgconfig
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --enable-cider # xspice, readline, osdi are now standard
-
+CONFIGURE_ARGS_armv7= --disable-openmp
+# xspice, readline, osdi are now standard
+CONFIGURE_ARGS= --enable-cider \
+ ${CONFIGURE_ARGS_${ARCH}}
OPTIONS_DEFINE= DEBUG
.if ${FLAVOR:U} == shlib