- Get -restrict check to work
This commit was SVN r12432.
Этот коммит содержится в:
родитель
d182ae7472
Коммит
2fc3ce8efc
@ -192,8 +192,8 @@ AC_DEFUN([OMPI_SETUP_CC],[
|
||||
[AC_TRY_COMPILE([], [],
|
||||
[ompi_cv_cc_restrict_cflags="yes"],
|
||||
[ompi_cv_cc_restrict_cflags="no"])])
|
||||
if test "ompi_cv_cc_restruct_cflags" = "yes" ; then
|
||||
add="$RESTRUCT_CFLAGS"
|
||||
if test "$ompi_cv_cc_restrict_cflags" = "yes" ; then
|
||||
add=" $RESTRICT_CFLAGS"
|
||||
fi
|
||||
|
||||
CFLAGS="${CFLAGS_orig}${add}"
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user