diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2024-05-16 14:36:12 +0200 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2024-05-17 00:19:47 +0200 |
commit | 804ac2395851da1f7e19c986895ebc92277a573e (patch) | |
tree | 288e5ba1043e643aa5df29ecccb36245502ff5a2 /net/openmpi | |
parent | www/garage: Update to 1.0.0 (diff) |
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.
Diffstat (limited to 'net/openmpi')
-rw-r--r-- | net/openmpi/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
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 " |