mirror of
https://git.proxmox.com/git/grub2
synced 2025-07-27 13:51:46 +00:00
merge from upstream
This commit is contained in:
commit
c72fde3920
11
ChangeLog
11
ChangeLog
@ -1,3 +1,14 @@
|
|||||||
|
2010-11-16 Colin Watson <cjwatson@debian.org>
|
||||||
|
|
||||||
|
* conf/Makefile.common (CFLAGS_GNULIB): Add -Wno-unused-parameter.
|
||||||
|
(-Wunused implies -Wunused-parameter, but not vice versa).
|
||||||
|
|
||||||
|
2010-11-16 Colin Watson <cjwatson@ubuntu.com>
|
||||||
|
|
||||||
|
* configure.ac: Make error messages less confusing by testing for
|
||||||
|
-Wtrampolines rather than -Wno-trampolines (since -Wno-* is always
|
||||||
|
accepted, but produces a diagnostic if something else is wrong).
|
||||||
|
|
||||||
2010-11-15 Vladimir Serbinenko <phcoder@gmail.com>
|
2010-11-15 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/term/at_keyboard.c (grub_keyboard_controller_read)
|
* grub-core/term/at_keyboard.c (grub_keyboard_controller_read)
|
||||||
|
@ -97,7 +97,7 @@ platformdir = $(pkglibrootdir)/$(target_cpu)-$(platform)
|
|||||||
CFLAGS_GCRY = -Wno-error -Wno-missing-field-initializers
|
CFLAGS_GCRY = -Wno-error -Wno-missing-field-initializers
|
||||||
CPPFLAGS_GCRY = -I$(top_srcdir)/grub-core/lib/libgcrypt_wrap
|
CPPFLAGS_GCRY = -I$(top_srcdir)/grub-core/lib/libgcrypt_wrap
|
||||||
|
|
||||||
CFLAGS_GNULIB = -Wno-undef -Wno-sign-compare -Wno-unused
|
CFLAGS_GNULIB = -Wno-undef -Wno-sign-compare -Wno-unused -Wno-unused-parameter
|
||||||
CPPFLAGS_GNULIB = -I$(top_builddir)/grub-core/gnulib -I$(top_srcdir)/grub-core/gnulib
|
CPPFLAGS_GNULIB = -I$(top_builddir)/grub-core/gnulib -I$(top_srcdir)/grub-core/gnulib
|
||||||
|
|
||||||
CFLAGS_POSIX = -fno-builtin
|
CFLAGS_POSIX = -fno-builtin
|
||||||
|
@ -673,7 +673,10 @@ fi
|
|||||||
|
|
||||||
AC_CACHE_CHECK([whether -Wno-trampolines work], [grub_cv_cc_wnotrampolines], [
|
AC_CACHE_CHECK([whether -Wno-trampolines work], [grub_cv_cc_wnotrampolines], [
|
||||||
SAVED_CFLAGS="$CFLAGS"
|
SAVED_CFLAGS="$CFLAGS"
|
||||||
CFLAGS="$TARGET_CFLAGS -Wno-trampolines"
|
# Test for -Wtrampolines rather than -Wno-trampolines to reduce confusion
|
||||||
|
# in the event of later failures (since -Wno-* is always accepted, but
|
||||||
|
# produces a diagnostic if something else is wrong).
|
||||||
|
CFLAGS="$TARGET_CFLAGS -Wtrampolines"
|
||||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <stdarg.h>
|
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <stdarg.h>
|
||||||
int va_arg_func (int fixed, va_list args);]], [[]])],
|
int va_arg_func (int fixed, va_list args);]], [[]])],
|
||||||
[grub_cv_cc_wnotrampolines=yes],
|
[grub_cv_cc_wnotrampolines=yes],
|
||||||
|
Loading…
Reference in New Issue
Block a user