From 390ed4a626211fb7d19fb8da7661c8e3b42c4795 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Wed, 13 Feb 2019 09:09:33 +0000 Subject: [PATCH] =?UTF-8?q?ocaml-4.08:=20disable=20=E2=80=9Cstrictoverflow?= =?UTF-8?q?=E2=80=9D=20hardening?= 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 3365c47c0d6d..c6d0a114974f 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" ]; }