forked from mirrors/nixpkgs
camlidl: fix build with OCaml 4.03
by making warning 31 non fatal
This commit is contained in:
parent
be759ba64e
commit
0121066f5f
|
@ -20,6 +20,7 @@ stdenv.mkDerivation rec {
|
|||
substituteInPlace config/Makefile --replace BINDIR=/usr/local/bin BINDIR=$out
|
||||
substituteInPlace config/Makefile --replace OCAMLLIB=/usr/local/lib/ocaml OCAMLLIB=$out/lib/ocaml/${ocaml.version}/site-lib/camlidl
|
||||
substituteInPlace config/Makefile --replace CPP=/lib/cpp CPP=${stdenv.cc}/bin/cpp
|
||||
substituteInPlace config/Makefile --replace "OCAMLC=ocamlc -g" "OCAMLC=ocamlc -g -warn-error -31"
|
||||
mkdir -p $out/lib/ocaml/${ocaml.version}/site-lib/camlidl/caml
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue