git: b61bcfa57ce8 - main - devel/onetbb: drop unnecessary patching on powerpc and disable LTO on powerpc64
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 28 Sep 2022 18:54:02 UTC
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=b61bcfa57ce8e195b8c28fa8ce174a8f75047a5b commit b61bcfa57ce8e195b8c28fa8ce174a8f75047a5b Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2022-09-28 18:52:28 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2022-09-28 18:53:50 +0000 devel/onetbb: drop unnecessary patching on powerpc and disable LTO on powerpc64 --- devel/onetbb/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/devel/onetbb/Makefile b/devel/onetbb/Makefile index e8b49b2176a9..1df4ea2a757b 100644 --- a/devel/onetbb/Makefile +++ b/devel/onetbb/Makefile @@ -39,8 +39,12 @@ PLIST_SUB= PCSUFX="${PCSUFX}" PCSUFX= 32 .endif -.if ${ARCH} == powerpc || ${ARCH} == riscv64 +.if ${ARCH} == riscv64 EXTRA_PATCHES= ${FILESDIR}/extra-patch-src_tbb_tools__api_ittnotify__config.h .endif +.if ${ARCH} == powerpc64 +CMAKE_ARGS+= -DTBB_ENABLE_IPO:BOOL=OFF +.endif + .include <bsd.port.post.mk>