1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

llvm-3.8: Fix lldb build failure due to insecure format use.

This commit is contained in:
Will Dietz 2016-08-30 14:22:53 -05:00
parent 509733a343
commit 464888c28c

View file

@ -25,12 +25,9 @@ stdenv.mkDerivation {
cp "$(ls -d llvm-*.src)/lib/Support/regex_impl.h" "$srcDir/tools/lib/Support/"
'';
buildInputs = [ cmake python which swig ncurses zlib libedit ];
buildInputs = [ cmake python which swig ncurses zlib libedit llvm ];
preConfigure = ''
export CXXFLAGS="-pthread"
export LDFLAGS="-ldl"
'';
hardeningDisable = [ "format" ];
cmakeFlags = [
"-DCMAKE_BUILD_TYPE=Release"