diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2010-05-07 08:46:07 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2010-05-07 08:46:07 +0100 |
commit | abe6f866699a39bceee74af0a71617ab93cce34b (patch) | |
tree | 0a3cfa021a47c339c343db2cffeed3d5aa4ca055 | |
parent | 12d39540c8c0b6cd70de3fc90d12fe4fd1834360 (diff) | |
download | xen-abe6f866699a39bceee74af0a71617ab93cce34b.tar.gz xen-abe6f866699a39bceee74af0a71617ab93cce34b.tar.bz2 xen-abe6f866699a39bceee74af0a71617ab93cce34b.zip |
ocaml: Fix C include paths in Makefile
Signed-off-by: Vincent Hanquez <vincent.hanquez@eu.citrix.com>
-rw-r--r-- | tools/ocaml/common.make | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/ocaml/common.make b/tools/ocaml/common.make index 3b14dfbcc8..17bcac38b9 100644 --- a/tools/ocaml/common.make +++ b/tools/ocaml/common.make @@ -8,9 +8,8 @@ OCAMLYACC ?= ocamlyacc CFLAGS ?= -Wall -fPIC -O2 -XEN_ROOT ?= $(TOPLEVEL)/../xen-unstable.hg -XEN_DIST_ROOT ?= $(XEN_ROOT)/dist/install -CFLAGS += -I$(XEN_DIST_ROOT)/usr/include +CFLAGS += -I$(TOPLEVEL)/../include -I$(TOPLEVEL)/../libxc +CFLAGS += -I/usr/lib64/ocaml -I/usr/lib/ocaml OCAMLOPTFLAG_G := $(shell $(OCAMLOPT) -h 2>&1 | sed -n 's/^ *\(-g\) .*/\1/p') OCAMLOPTFLAGS = $(OCAMLOPTFLAG_G) -ccopt "$(LDFLAGS)" -dtypes $(OCAMLINCLUDE) -cc $(CC) -w F -warn-error F |