tinyxml: disable format hardening, else tests will fail
This commit is contained in:
parent
725de314ef
commit
3d53d14070
@ -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";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user