Date: Thu, 16 May 2024 22:19:52 GMT From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 804ac2395851 - main - net/openmpi: fix build on powerpc* Message-ID: <202405162219.44GMJq2a044064@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=804ac2395851da1f7e19c986895ebc92277a573e commit 804ac2395851da1f7e19c986895ebc92277a573e Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2024-05-16 12:36:12 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2024-05-16 22:19:47 +0000 net/openmpi: fix build on powerpc* configure:16066: checking for short float configure:16066: cc -c -DNDEBUG -O2 -pipe -I/usr/local/include/gcc13 -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -finline-functions -isystem /usr/local/include conftest.c >&5 conftest.c:149:13: error: 'short float' is invalid 149 | if (sizeof (short float)) | ^ 1 error generated. --- net/openmpi/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/openmpi/Makefile b/net/openmpi/Makefile index 2535dce33f3d..f99e2fcdc58b 100644 --- a/net/openmpi/Makefile +++ b/net/openmpi/Makefile @@ -106,7 +106,7 @@ PLIST_SUB+= NO_MCA_PATCHER_OVERWRITE="@comment " PLIST_SUB+= NO_MCA_PATCHER_OVERWRITE="" .endif -.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 170 +.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 170 && !${ARCH:Mpowerpc*} PLIST_SUB+= SHORTFLOAT="" .else PLIST_SUB+= SHORTFLOAT="@comment "
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202405162219.44GMJq2a044064>