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
@ -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 New Issue
Block a user