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 = ''