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:13:37 +0000
commit34a2f7b0f7895713cfaa0b407814aa5ce7dcf61b (patch)
tree95199655d94c20eaadbb395c9c1bc2db641d1579
parentbc8f81a5857b90c3a23ae02a203738babd9a36b6 (diff)
cad/ngspice_rework: fix build on armv7
Disable OpenMP where it is not supported. MFH: 2025Q3 Approved by: portmgr (build fix blanket) (cherry picked from commit d6e564cd057376640f7b5f8094552eee4e949686)
-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