Date: Tue, 12 Jan 2021 19:32:05 +0000 (UTC) From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r561371 - head/net/mpich Message-ID: <202101121932.10CJW5CL032424@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pkubaj Date: Tue Jan 12 19:32:04 2021 New Revision: 561371 URL: https://svnweb.freebsd.org/changeset/ports/561371 Log: 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 Modified: head/net/mpich/Makefile Modified: head/net/mpich/Makefile ============================================================================== --- head/net/mpich/Makefile Tue Jan 12 19:09:03 2021 (r561370) +++ head/net/mpich/Makefile Tue Jan 12 19:32:04 2021 (r561371) @@ -70,6 +70,8 @@ CONFIGURE_ARGS= --enable-fast="" --with-hwloc-prefix=$ 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}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101121932.10CJW5CL032424>