diff options
author | Keir Fraser <keir@xen.org> | 2010-12-02 09:37:04 +0000 |
---|---|---|
committer | Keir Fraser <keir@xen.org> | 2010-12-02 09:37:04 +0000 |
commit | 788b4a623e9127dd833643ece81b0d6fd8a4456c (patch) | |
tree | f66bc1379e5f5fa83b154d4186ca603d92d653dc /xen/arch/x86/Rules.mk | |
parent | 22787f2e107ca3d8717da0beea23518bb3e7a592 (diff) | |
download | xen-788b4a623e9127dd833643ece81b0d6fd8a4456c.tar.gz xen-788b4a623e9127dd833643ece81b0d6fd8a4456c.tar.bz2 xen-788b4a623e9127dd833643ece81b0d6fd8a4456c.zip |
x86: Add -Wredundant-decls to Xen build flags.
Fix up the fallout.
Signed-off-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/arch/x86/Rules.mk')
-rw-r--r-- | xen/arch/x86/Rules.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/Rules.mk b/xen/arch/x86/Rules.mk index d8663a6184..ec3abdd2be 100644 --- a/xen/arch/x86/Rules.mk +++ b/xen/arch/x86/Rules.mk @@ -16,7 +16,7 @@ ifneq ($(XEN_OS),SunOS) CFLAGS += -nostdinc endif -CFLAGS += -fno-builtin -fno-common +CFLAGS += -fno-builtin -fno-common -Wredundant-decls CFLAGS += -iwithprefix include -Werror -Wno-pointer-arith -pipe CFLAGS += -I$(BASEDIR)/include CFLAGS += -I$(BASEDIR)/include/asm-x86/mach-generic |