From aa207ad2f3de5b649e5439d06dca90d86f5a82c2 Mon Sep 17 00:00:00 2001 From: Ralph Castain Date: Fri, 24 Oct 2014 10:20:04 -0700 Subject: [PATCH] Per Gilles, we really should set the reentrant flags when building Java support --- config/ompi_setup_java.m4 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/ompi_setup_java.m4 b/config/ompi_setup_java.m4 index 53ac9962cd..a69a97fc50 100644 --- a/config/ompi_setup_java.m4 +++ b/config/ompi_setup_java.m4 @@ -89,6 +89,8 @@ AC_DEFUN([OMPI_SETUP_JAVA_BINDINGS],[ AC_MSG_WARN([*** the Java MPI bindings in Open MPI is contingent]) AC_MSG_WARN([*** upon user interest and developer support.]) AC_MSG_WARN([******************************************************]) + CFLAGS="$CFLAGS -D_REENTRANT" + CPPFLAGS="$CPPFLAGS -D_REENTRANT" ]) AC_CONFIG_FILES([