diff options
author | Olaf Hering <olaf@aepfle.de> | 2011-05-21 07:57:03 +0100 |
---|---|---|
committer | Olaf Hering <olaf@aepfle.de> | 2011-05-21 07:57:03 +0100 |
commit | ebcff6989c1e39448863560c82cac3cb4375290d (patch) | |
tree | ae46ee65130d82504b7fb9761a245ca73efbb041 | |
parent | d8a3f7243c7549e76ea14a19fa8d134212ef6910 (diff) | |
download | xen-ebcff6989c1e39448863560c82cac3cb4375290d.tar.gz xen-ebcff6989c1e39448863560c82cac3cb4375290d.tar.bz2 xen-ebcff6989c1e39448863560c82cac3cb4375290d.zip |
gcc-4.6 compile fix: build with -Wno-unused-but-set-variable
Avoid "error: variable 'unused' set but not used
[-Werror=unused-but-set-variable]" with gcc 4.6.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
xen-unstable changeset: 23368:0f670f5146c8
xen-unstable date: Sat May 21 07:55:46 2011 +0100
-rw-r--r-- | Config.mk | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -132,6 +132,7 @@ CFLAGS += -Wno-unused-value $(call cc-option-add,HOSTCFLAGS,HOSTCC,-Wdeclaration-after-statement) $(call cc-option-add,CFLAGS,CC,-Wdeclaration-after-statement) +$(call cc-option-add,CFLAGS,CC,-Wno-unused-but-set-variable) LDFLAGS += $(foreach i, $(EXTRA_LIB), -L$(i)) CFLAGS += $(foreach i, $(EXTRA_INCLUDES), -I$(i)) |