mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 13:30:36 +00:00
lldb_4: fix w/gcc7
Same fix used in swift4, FWIW.
(cherry picked from commit 535ba5f7f7)
This commit is contained in:
@@ -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 = ''
|
||||
|
||||
Reference in New Issue
Block a user