Skip to content

Commit

Permalink
net/openmpi: fix build on powerpc*
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
pkubaj committed May 16, 2024
1 parent f923df1 commit 804ac23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/openmpi/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 "
Expand Down

0 comments on commit 804ac23

Please sign in to comment.