summaryrefslogtreecommitdiff
path: root/lang/ocaml-camlidl
diff options
context:
space:
mode:
Diffstat (limited to 'lang/ocaml-camlidl')
-rw-r--r--lang/ocaml-camlidl/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/lang/ocaml-camlidl/Makefile b/lang/ocaml-camlidl/Makefile
index 33e292289c6d..90a43711b3ae 100644
--- a/lang/ocaml-camlidl/Makefile
+++ b/lang/ocaml-camlidl/Makefile
@@ -35,6 +35,7 @@ post-extract:
@${REINPLACE_CMD} -e \
"/^install/,/^$$/s,\([ \t]*\)cp,\1${INSTALL_SCRIPT},g" \
+ -e 's,$$(OCAMLC),& -warn-error -a,' \
${WRKSRC}/compiler/Makefile
@${REINPLACE_CMD} -e \