ocamlPackages.dtoa: disable hardening feature based on more accurate condition
The `strictoverflow` hardening feature causes a build failure when using Clang as the compiler, not just on Darwin.
This commit is contained in:
parent
c5120548fc
commit
ecb3b74a43
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ buildDunePackage rec {
|
|||
sha256 = "0zkhn0rdq82g6gamsv6nkx6i44s8104nh6jg5xydazl9jl1704xn";
|
||||
};
|
||||
|
||||
hardeningDisable = lib.optional stdenv.isDarwin "strictoverflow";
|
||||
hardeningDisable = lib.optional stdenv.cc.isClang "strictoverflow";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/flowtype/ocaml-dtoa";
|
||||
|
|
Loading…
Reference in a new issue