lldb_4: fix w/gcc7

Same fix used in swift4, FWIW.

(cherry picked from commit 535ba5f7f7)
This commit is contained in:
Will Dietz
2018-03-07 17:38:15 -06:00
parent 0feab3dabe
commit fac8c4d2d9

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