diff -r 0d092359d86f tools/ocaml/common.make --- a/tools/ocaml/common.make Wed Oct 26 10:32:36 2011 +0200 +++ b/tools/ocaml/common.make Tue Nov 01 10:05:59 2011 +0100 @@ -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