aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxl/Makefile
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2011-12-13 15:31:12 +0000
committerIan Campbell <ian.campbell@citrix.com>2011-12-13 15:31:12 +0000
commitc3bf51381044d61bb94ad72613563da8e3cd67d3 (patch)
tree74cc8f65649a0596dcf019a53bc728439b9aa608 /tools/libxl/Makefile
parent64a481aee65956c97d2627c9eca81a55d584bbfe (diff)
downloadxen-c3bf51381044d61bb94ad72613563da8e3cd67d3.tar.gz
xen-c3bf51381044d61bb94ad72613563da8e3cd67d3.tar.bz2
xen-c3bf51381044d61bb94ad72613563da8e3cd67d3.zip
libxl: Compile with -Wformat-nonliteral.
At least one compiler (some Ubuntu version) uses this by default and it seems like a good idea anyway and the fixup required is trivial. One hunk is from a patch by Ian Jackson. Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com> Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Reported-by: Adda Rathbone <addarathbone@googlemail.com> Tested-by: Adda Rathbone <addarathbone@googlemail.com> Tested-by: Andrew Pounce <andrew.pounce@citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/libxl/Makefile')
-rw-r--r--tools/libxl/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libxl/Makefile b/tools/libxl/Makefile
index 70c9c1cfe9..1c95718a75 100644
--- a/tools/libxl/Makefile
+++ b/tools/libxl/Makefile
@@ -12,7 +12,7 @@ XLUMAJOR = 1.0
XLUMINOR = 0
CFLAGS += -Werror -Wno-format-zero-length -Wmissing-declarations \
- -Wno-declaration-after-statement
+ -Wno-declaration-after-statement -Wformat-nonliteral
CFLAGS += -I. -fPIC
ifeq ($(CONFIG_Linux),y)