tinyxml: disable format hardening, else tests will fail

This commit is contained in:
Jan Malakhovski 2018-05-13 01:08:06 +00:00
parent 725de314ef
commit 3d53d14070

View File

@ -21,8 +21,11 @@ in stdenv.mkDerivation {
# Use CC, CXX, and LD from environment
./2.6.2-cxx.patch
];
preConfigure = "export LD=${if stdenv.isDarwin then "clang++" else "g++"}";
hardeningDisable = [ "format" ];
NIX_CFLAGS_COMPILE =
stdenv.lib.optional stdenv.isDarwin "-mmacosx-version-min=10.9";