p7zip: fix build on gcc10

This commit is contained in:
Lucas Ransan
2020-12-28 08:43:32 +01:00
committed by Frederik Rietdijk
parent 1c89832fd5
commit 7fd60b3c97
2 changed files with 44 additions and 0 deletions
+4
View File
@@ -13,6 +13,10 @@ stdenv.mkDerivation rec {
}
;
patches = [
./gcc10.patch
];
# Default makefile is full of impurities on Darwin. The patch doesn't hurt Linux so I'm leaving it unconditional
postPatch = ''
sed -i '/CC=\/usr/d' makefile.macosx_llvm_64bits