From 390ed4a626211fb7d19fb8da7661c8e3b42c4795 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Wed, 13 Feb 2019 09:09:33 +0000 Subject: ocaml-4.08: disable “strictoverflow” hardening MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/development/compilers/ocaml/4.08.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/compilers/ocaml/4.08.nix b/pkgs/development/compilers/ocaml/4.08.nix index 3365c47c0d6..c6d0a114974 100644 --- a/pkgs/development/compilers/ocaml/4.08.nix +++ b/pkgs/development/compilers/ocaml/4.08.nix @@ -6,4 +6,7 @@ import ./generic.nix { # If the executable is stripped it does not work dontStrip = true; + + # Breaks build with Clang + hardeningDisable = [ "strictoverflow" ]; } -- cgit 1.4.1