Skip to content

Commit

Permalink
camlidl: fix build with OCaml 4.03
Browse files Browse the repository at this point in the history
 by making warning 31 non fatal
  • Loading branch information
vbgl committed Jan 14, 2017
1 parent be759ba commit 0121066
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkgs/development/tools/ocaml/camlidl/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
'';

Expand Down

0 comments on commit 0121066

Please sign in to comment.