mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 15:11:35 +00:00
Merge pull request #36463 from dtzWill/fix/lldb4-gcc7
lldb_4: fix w/gcc7
This commit is contained in:
commit
a9abec1bee
|
@ -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