Skip to content

Commit

Permalink
llvm-3.8: Fix lldb build failure due to insecure format use.
Browse files Browse the repository at this point in the history
  • Loading branch information
dtzWill committed Aug 30, 2016
1 parent 509733a commit 464888c
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions pkgs/development/compilers/llvm/3.8/lldb.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 464888c

Please sign in to comment.