1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

cad/nvc: enable LTO on powerpc64

This commit is contained in:
Piotr Kubaj 2023-08-10 12:42:16 +02:00
parent 2bd9c58042
commit d994aefe0c

View File

@ -1,6 +1,7 @@
PORTNAME= nvc
DISTVERSIONPREFIX= r
DISTVERSION= 1.10.1
PORTREVISION= 1
CATEGORIES= cad
MAINTAINER= yuri@FreeBSD.org
@ -56,7 +57,7 @@ CONFIGURE_CMD= ${WRKSRC}/configure
.include <bsd.port.options.mk>
.if ${ARCH} == "i386" || ${ARCH} == powerpc64 # see the bug#268319 for the LTO failure on i386
.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