aboutsummaryrefslogtreecommitdiffstats
path: root/tools/ocaml/common.make
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2010-05-07 09:13:59 +0100
committerKeir Fraser <keir.fraser@citrix.com>2010-05-07 09:13:59 +0100
commit80e279223b426bb5659d8413f66ae2d0c2fe01b9 (patch)
treed8e5f6b55dc4603228fa1ea4e8d0c49c6b560789 /tools/ocaml/common.make
parentb59766b71fd4ceb731815c7f1337dffe71618548 (diff)
downloadxen-80e279223b426bb5659d8413f66ae2d0c2fe01b9.tar.gz
xen-80e279223b426bb5659d8413f66ae2d0c2fe01b9.tar.bz2
xen-80e279223b426bb5659d8413f66ae2d0c2fe01b9.zip
ocaml: Add -Werror to CFLAGS and fix resulting errors.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'tools/ocaml/common.make')
-rw-r--r--tools/ocaml/common.make2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ocaml/common.make b/tools/ocaml/common.make
index 17bcac38b9..cb95104582 100644
--- a/tools/ocaml/common.make
+++ b/tools/ocaml/common.make
@@ -6,7 +6,7 @@ OCAMLDEP ?= ocamldep
OCAMLLEX ?= ocamllex
OCAMLYACC ?= ocamlyacc
-CFLAGS ?= -Wall -fPIC -O2
+CFLAGS ?= -Wall -fPIC -O2 -Werror
CFLAGS += -I$(TOPLEVEL)/../include -I$(TOPLEVEL)/../libxc
CFLAGS += -I/usr/lib64/ocaml -I/usr/lib/ocaml