|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] ocaml: Fix C include paths in Makefile
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1273218367 -3600
# Node ID 30f6827de7057c0c7c61b9a93c24fc5404a47a6a
# Parent 23b9231833b447ebc44dc8c56a435798c483f135
ocaml: Fix C include paths in Makefile
Signed-off-by: Vincent Hanquez <vincent.hanquez@xxxxxxxxxxxxx>
---
tools/ocaml/common.make | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff -r 23b9231833b4 -r 30f6827de705 tools/ocaml/common.make
--- a/tools/ocaml/common.make Fri May 07 08:43:51 2010 +0100
+++ b/tools/ocaml/common.make Fri May 07 08:46:07 2010 +0100
@@ -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
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] ocaml: Fix C include paths in Makefile,
Xen patchbot-unstable <=
|
|
|
|
|