aboutsummaryrefslogtreecommitdiff
path: root/cad/nvc
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2022-12-11 19:21:56 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2022-12-11 19:21:56 +0000
commitd5a8c7ca5954840b99c01aff42630441b90ae237 (patch)
treec422e77a77fdd1707fe5d03e89d1bb3a058dee07 /cad/nvc
parent02542ea91df19ec0d3637301c3c5cbc997f6d606 (diff)
downloadports-d5a8c7ca5954840b99c01aff42630441b90ae237.tar.gz
ports-d5a8c7ca5954840b99c01aff42630441b90ae237.zip
cad/nvc: Correction of the conditional statement
Diffstat (limited to 'cad/nvc')
-rw-r--r--cad/nvc/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/cad/nvc/Makefile b/cad/nvc/Makefile
index 4b8e9d10d601..9404d23dc65b 100644
--- a/cad/nvc/Makefile
+++ b/cad/nvc/Makefile
@@ -34,6 +34,8 @@ GNU_CONFIGURE= yes
LDFLAGS+= -lexecinfo
CONFIGURE_ARGS= --with-llvm=${LOCALBASE}/bin/llvm-config${LLVM_VERSION}
+
+.include <bsd.port.options.mk>
.if ${ARCH} == "i386" # see the bug#268319 for the LTO failure on i386
CONFIGURE_ARGS+= --disable-lto # workaround for https://github.com/nickg/nvc/issues/579 (undefined symbol: _GLOBAL_OFFSET_TABLE_, see error: undefined symbol: _GLOBAL_OFFSET_TABLE_)
.endif