Don't need to remove pedantic flags for openib.
This commit was SVN r6615.
Этот коммит содержится в:
родитель
7456ea70be
Коммит
aa749499f8
@ -18,7 +18,6 @@
|
|||||||
|
|
||||||
include $(top_ompi_srcdir)/config/Makefile.options
|
include $(top_ompi_srcdir)/config/Makefile.options
|
||||||
|
|
||||||
CFLAGS = $(btl_openib_CFLAGS)
|
|
||||||
AM_CPPFLAGS=$(btl_openib_CPPFLAGS)
|
AM_CPPFLAGS=$(btl_openib_CPPFLAGS)
|
||||||
|
|
||||||
sources = \
|
sources = \
|
||||||
|
@ -30,16 +30,6 @@ AC_DEFUN([MCA_btl_openib_CONFIG],[
|
|||||||
$1],
|
$1],
|
||||||
[$2])
|
[$2])
|
||||||
|
|
||||||
# Many of the vapi.h files floating around don't obey ISO99 C
|
|
||||||
# standard, so cause oodles of warnings with -pedantic and
|
|
||||||
# -Wundef. Remove them from CFLAGS, which is then used to
|
|
||||||
# forcefully override CFLAGS in the makefile for OPENIB
|
|
||||||
# components
|
|
||||||
btl_openib_CFLAGS="`echo $CFLAGS | sed 's/-pedantic//g'`"
|
|
||||||
btl_openib_CFLAGS="`echo $btl_openib_CFLAGS | sed 's/-Wundef//g'`"
|
|
||||||
AS_IF([test "$btl_openib_CFLAGS" != "$CFLAGS"],
|
|
||||||
[AC_MSG_WARN([Removed -pedantic and -Wundef from CFLAGS for
|
|
||||||
openib component because some vapi.h files are not really ANSI C])])
|
|
||||||
|
|
||||||
# substitute in the things needed to build openib
|
# substitute in the things needed to build openib
|
||||||
AC_SUBST([btl_openib_CFLAGS])
|
AC_SUBST([btl_openib_CFLAGS])
|
||||||
|
@ -18,7 +18,6 @@
|
|||||||
|
|
||||||
include $(top_ompi_srcdir)/config/Makefile.options
|
include $(top_ompi_srcdir)/config/Makefile.options
|
||||||
|
|
||||||
CFLAGS = $(mpool_openib_CFLAGS)
|
|
||||||
AM_CPPFLAGS = $(mpool_openib_CPPFLAGS)
|
AM_CPPFLAGS = $(mpool_openib_CPPFLAGS)
|
||||||
|
|
||||||
sources = \
|
sources = \
|
||||||
|
@ -30,17 +30,6 @@ AC_DEFUN([MCA_mpool_openib_CONFIG],[
|
|||||||
$1],
|
$1],
|
||||||
[$2])
|
[$2])
|
||||||
|
|
||||||
# Many of the vapi.h files floating around don't obey ISO99 C
|
|
||||||
# standard, so cause oodles of warnings with -pedantic and
|
|
||||||
# -Wundef. Remove them from CFLAGS, which is then used to
|
|
||||||
# forcefully override CFLAGS in the makefile for OPENIB
|
|
||||||
# components
|
|
||||||
mpool_openib_CFLAGS="`echo $CFLAGS | sed 's/-pedantic//g'`"
|
|
||||||
mpool_openib_CFLAGS="`echo $mpool_openib_CFLAGS | sed 's/-Wundef//g'`"
|
|
||||||
AS_IF([test "$mpool_openib_CFLAGS" != "$CFLAGS"],
|
|
||||||
[AC_MSG_WARN([Removed -pedantic and -Wundef from CFLAGS for
|
|
||||||
openib component because some vapi.h files are not really ANSI C])])
|
|
||||||
|
|
||||||
# substitute in the things needed to build openib
|
# substitute in the things needed to build openib
|
||||||
AC_SUBST([mpool_openib_CFLAGS])
|
AC_SUBST([mpool_openib_CFLAGS])
|
||||||
AC_SUBST([mpool_openib_CPPFLAGS])
|
AC_SUBST([mpool_openib_CPPFLAGS])
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user