llvm_13: workaround for llvm bug 50611
https://bugs.llvm.org/show_bug.cgi?id=50611 (cherry picked from commit 91b15b6dcfd2d394e707fdfaa10d563bbf2f8198)
This commit is contained in:
parent
bcfaa8041c
commit
036e4b3df8
|
@ -52,6 +52,13 @@ in stdenv.mkDerivation (rec {
|
|||
|
||||
patches = [
|
||||
./gnu-install-dirs.patch
|
||||
|
||||
# Fix random compiler crashes: https://bugs.llvm.org/show_bug.cgi?id=50611
|
||||
(fetchpatch {
|
||||
url = "https://raw.githubusercontent.com/archlinux/svntogit-packages/4764a4f8c920912a2bfd8b0eea57273acfe0d8a8/trunk/no-strict-aliasing-DwarfCompileUnit.patch";
|
||||
sha256 = "18l6mrvm2vmwm77ckcnbjvh6ybvn72rhrb799d4qzwac4x2ifl7g";
|
||||
stripLen = 1;
|
||||
})
|
||||
] ++ lib.optional enablePolly ./gnu-install-dirs-polly.patch;
|
||||
|
||||
postPatch = optionalString stdenv.isDarwin ''
|
||||
|
|
Loading…
Reference in New Issue