git: d5a8c7ca5954 - main - cad/nvc: Correction of the conditional statement
Date: Sun, 11 Dec 2022 19:22:23 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d5a8c7ca5954840b99c01aff42630441b90ae237
commit d5a8c7ca5954840b99c01aff42630441b90ae237
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-12-11 19:21:56 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-12-11 19:21:56 +0000
cad/nvc: Correction of the conditional statement
---
cad/nvc/Makefile | 2 ++
1 file changed, 2 insertions(+)
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