1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

net/mpich: fix build on powerpc64

Neither __BYTE_ORDER nor __BIG_ENDIAN are defined:
In file included from src/mpi/datatype/typerep/dataloop/looputil.c:10:
./src/mpi/datatype/typerep/dataloop/looputil.h:57:2: error: This code assumes that __BYTE_ORDER and __BIG_ENDIAN are defined
#error This code assumes that __BYTE_ORDER and __BIG_ENDIAN are defined
This commit is contained in:
Piotr Kubaj 2021-01-12 19:32:04 +00:00
parent fad4bd38ff
commit 50ad4ef465
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=561371

View File

@ -70,6 +70,8 @@ CONFIGURE_ARGS= --enable-fast="" --with-hwloc-prefix=${LOCALBASE} \
LIBS="-L${LOCALBASE}/lib -lepoll-shim -ljson-c -lm" \
BASH_SHELL=${LOCALBASE}/bin/bash
CFLAGS_powerpc64= -D__BIG_ENDIAN
.include <bsd.port.options.mk>
.for pm in ${OPTIONS_GROUP_PM}