[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Just a cosmetic question about grub_vprintf()?
From: |
Robert Millan |
Subject: |
Re: Just a cosmetic question about grub_vprintf()? |
Date: |
Wed, 9 Dec 2009 22:36:05 +0100 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Sat, Dec 05, 2009 at 09:58:01PM +0000, rubisher wrote:
> +AC_ARG_ENABLE([sparse],
> + AS_HELP_STRING([--enable-sparse],
> + [enable sparse code checking]), ,
> + enable_sparse=no
> +)
> +
> +# Set cgcc as compiler and add sparse flags if --enable-sparse was specified.
> +if test "$enable_sparse" = "yes"; then
> + CC="REAL_CC=$CC cgcc"
> + CFLAGS="$CFLAGS -Wbitwise -Wnon-pointer-null"
> + TARGET_CC="REAL_CC=$TARGET_CC cgcc"
> + TARGET_CFLAGS="$TARGET_CFLAGS -Wbitwise -Wnon-pointer-null"
> +fi
> +
This doesn't seem to be recognized by all versions of GCC we support. If
we enable these flags this needs to be checked.
--
Robert Millan
The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
how) you may access your data; but nobody's threatening your freedom: we
still allow you to remove your data and not access it at all."