3
0
Fork 0
forked from mirrors/nixpkgs

lldb_4: fix w/gcc7

Same fix used in swift4, FWIW.
This commit is contained in:
Will Dietz 2018-03-07 17:38:15 -06:00
parent b778e99fc3
commit 535ba5f7f7

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