forked from mirrors/nixpkgs
lldb_4: fix w/gcc7
Same fix used in swift4, FWIW.
This commit is contained in:
parent
b778e99fc3
commit
535ba5f7f7
|
@ -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 = ''
|
||||
|
|
Loading…
Reference in a new issue