1
1

-g3 is a GNU gcc specific flag. We are using the gnu compiler only if

the vendor is gnu. Otherwise, if GCC is set for all the compilers who
impersonate gcc like icc.

This commit was SVN r9217.
Этот коммит содержится в:
George Bosilca 2006-03-08 17:17:17 +00:00
родитель 95b060c741
Коммит c604c5da2f

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

@ -48,7 +48,7 @@ AC_DEFUN([OMPI_SETUP_CC],[
# Do we want debugging? # Do we want debugging?
if test "$WANT_DEBUG" = "1"; then if test "$WANT_DEBUG" = "1"; then
if test "$GCC" = yes; then if test "$ompi_c_vendor" = "gnu"; then
CFLAGS="$CFLAGS -g3" CFLAGS="$CFLAGS -g3"
else else
CFLAGS="$CFLAGS -g" CFLAGS="$CFLAGS -g"