1
1

Merge pull request #2108 from rhc54/topic/reorder

Mucho thanks to Gilles - his patch to reorder the CPPFLAGS solves the…
Этот коммит содержится в:
rhc54 2016-09-22 11:04:21 -05:00 коммит произвёл GitHub
родитель c7bf9a0ec9 a14ec3bdbc
Коммит 63ba088d09
3 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -75,9 +75,9 @@ EOF
# Add some stuff to CPPFLAGS so that the rest of the source # Add some stuff to CPPFLAGS so that the rest of the source
# tree can be built # tree can be built
libevent_file=$libevent_basedir/libevent libevent_file=$libevent_basedir/libevent
CPPFLAGS="$CPPFLAGS -I$OPAL_TOP_SRCDIR/$libevent_file -I$OPAL_TOP_SRCDIR/$libevent_file/include" CPPFLAGS="-I$OPAL_TOP_SRCDIR/$libevent_file -I$OPAL_TOP_SRCDIR/$libevent_file/include $CPPFLAGS"
AS_IF([test "$OPAL_TOP_BUILDDIR" != "$OPAL_TOP_SRCDIR"], AS_IF([test "$OPAL_TOP_BUILDDIR" != "$OPAL_TOP_SRCDIR"],
[CPPFLAGS="$CPPFLAGS -I$OPAL_TOP_BUILDDIR/$libevent_file/include"]) [CPPFLAGS="-I$OPAL_TOP_BUILDDIR/$libevent_file/include $CPPFLAGS"])
unset libevent_file unset libevent_file
]) ])
]) ])

Просмотреть файл

@ -52,9 +52,9 @@ AC_DEFUN([MCA_opal_hwloc_hwloc1113_POST_CONFIG],[
# Add some stuff to CPPFLAGS so that the rest of the source # Add some stuff to CPPFLAGS so that the rest of the source
# tree can be built # tree can be built
file=$opal_hwloc_hwloc1113_basedir/hwloc file=$opal_hwloc_hwloc1113_basedir/hwloc
CPPFLAGS="$CPPFLAGS -I$OPAL_TOP_SRCDIR/$file/include" CPPFLAGS="-I$OPAL_TOP_SRCDIR/$file/include $CPPFLAGS"
AS_IF([test "$OPAL_TOP_BUILDDIR" != "$OPAL_TOP_SRCDIR"], AS_IF([test "$OPAL_TOP_BUILDDIR" != "$OPAL_TOP_SRCDIR"],
[CPPFLAGS="$CPPFLAGS -I$OPAL_TOP_BUILDDIR/$file/include"]) [CPPFLAGS="-I$OPAL_TOP_BUILDDIR/$file/include $CPPFLAGS"])
unset file unset file
]) ])
OPAL_VAR_SCOPE_POP OPAL_VAR_SCOPE_POP

Просмотреть файл

@ -443,7 +443,7 @@ CLEANUP:
int int
orte_session_dir_finalize(orte_process_name_t *proc) orte_session_dir_finalize(orte_process_name_t *proc)
{ {
int rc; int rc=ORTE_SUCCESS;
if (!orte_create_session_dirs || orte_process_info.rm_session_dirs ) { if (!orte_create_session_dirs || orte_process_info.rm_session_dirs ) {
/* we haven't created them or RM will clean them up for us*/ /* we haven't created them or RM will clean them up for us*/