1
1

pmix1xx configury: invoke sub-configure with CFLAGS and CPPFLAGS on the command line

if CFLAGS and/or CPPFLAGS are passed to the ompi configure command line, pmix1xx
configure will not use the correct ones previously passed in the environment
see discussion started at http://www.open-mpi.org/community/lists/devel/2015/10/18159.php
Thanks Siegmar Gross for bringing this to our attention
Этот коммит содержится в:
Gilles Gouaillardet 2015-10-15 10:17:57 +09:00
родитель 0bc51375f3
Коммит 0221f59197

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

@ -46,11 +46,9 @@ AC_DEFUN([MCA_opal_pmix_pmix1xx_CONFIG],[
CFLAGS="$OPAL_CFLAGS_BEFORE_PICKY $OPAL_VISIBILITY_CFLAGS"
fi
CPPFLAGS="-I$OPAL_TOP_SRCDIR -I$OPAL_TOP_BUILDDIR -I$OPAL_TOP_SRCDIR/opal/include -I$OPAL_TOP_BUILDDIR/opal/include $CPPFLAGS"
export CFLAGS
export CPPFLAGS
OPAL_CONFIG_SUBDIR([$opal_pmix_pmix1xx_basedir/pmix],
[$opal_pmix_pmix1xx_args $opal_subdir_args],
[$opal_pmix_pmix1xx_args $opal_subdir_args 'CFLAGS=$CFLAGS' 'CPPFLAGS=$CPPFLAGS'],
[opal_pmix_pmix1xx_happy=1], [opal_pmix_pmix1xx_happy=0])
if test $opal_pmix_pmix1xx_happy -eq 1; then