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/" 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 = '' hardeningDisable = [ "format" ];
export CXXFLAGS="-pthread"
export LDFLAGS="-ldl"
'';
cmakeFlags = [ cmakeFlags = [
"-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_BUILD_TYPE=Release"