1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 15:11:35 +00:00

Merge pull request #36463 from dtzWill/fix/lldb4-gcc7

lldb_4: fix w/gcc7
This commit is contained in:
Will Dietz 2018-03-08 12:34:08 -06:00 committed by GitHub
commit a9abec1bee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -41,6 +41,11 @@ stdenv.mkDerivation {
"-DLLDB_CODESIGN_IDENTITY=" # codesigning makes nondeterministic
];
# Add missing include to fix error when using std::bind
prePatch = ''
sed -i -e '30i#include <functional>' include/lldb/Utility/TaskPool.h
'';
enableParallelBuilding = true;
postInstall = ''