summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2019-02-13 09:09:33 +0000
committerVincent Laporte <vbgl@users.noreply.github.com>2019-02-19 09:44:04 +0100
commit390ed4a626211fb7d19fb8da7661c8e3b42c4795 (patch)
tree2c9c7eaeca9e59ab7e4711597a092ae7bd96ea62
parent1753b206485ca00f04bebb8810209c5f51cc9505 (diff)
downloadnixpkgs-390ed4a626211fb7d19fb8da7661c8e3b42c4795.tar
nixpkgs-390ed4a626211fb7d19fb8da7661c8e3b42c4795.tar.gz
nixpkgs-390ed4a626211fb7d19fb8da7661c8e3b42c4795.tar.bz2
nixpkgs-390ed4a626211fb7d19fb8da7661c8e3b42c4795.tar.lz
nixpkgs-390ed4a626211fb7d19fb8da7661c8e3b42c4795.tar.xz
nixpkgs-390ed4a626211fb7d19fb8da7661c8e3b42c4795.tar.zst
nixpkgs-390ed4a626211fb7d19fb8da7661c8e3b42c4795.zip
ocaml-4.08: disable “strictoverflow” hardening
-rw-r--r--pkgs/development/compilers/ocaml/4.08.nix3
1 files changed, 3 insertions, 0 deletions
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" ];
 }