diff options
author | Christoph Egger <Christoph.Egger@amd.com> | 2011-11-01 19:03:38 +0000 |
---|---|---|
committer | Christoph Egger <Christoph.Egger@amd.com> | 2011-11-01 19:03:38 +0000 |
commit | 71fbeb088826b530ef00eddb429df162e8e493b2 (patch) | |
tree | 33ebad64a570e745b29505e73db188d7189043ba /tools/ocaml/common.make | |
parent | 5c7aad52472a2e89e593e8d8b3883a3600cd446f (diff) | |
download | xen-71fbeb088826b530ef00eddb429df162e8e493b2.tar.gz xen-71fbeb088826b530ef00eddb429df162e8e493b2.tar.bz2 xen-71fbeb088826b530ef00eddb429df162e8e493b2.zip |
tools/ocaml: unify build process
Unify ocaml build process for different platforms.
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/ocaml/common.make')
-rw-r--r-- | tools/ocaml/common.make | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/ocaml/common.make b/tools/ocaml/common.make index 17a300c807..949433faba 100644 --- a/tools/ocaml/common.make +++ b/tools/ocaml/common.make @@ -8,9 +8,7 @@ OCAMLDEP ?= ocamldep OCAMLLEX ?= ocamllex OCAMLYACC ?= ocamlyacc -CFLAGS += -fPIC -Werror -CFLAGS-$(CONFIG_Linux) += -I$(shell ocamlc -where) -CFLAGS-$(CONFIG_NetBSD) += -I/usr/pkg/lib/ocaml -fPIC +CFLAGS += -fPIC -Werror -I$(shell ocamlc -where) 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 |