cramfsswap: fix parallel build failure (#142478)
Co-authored-by: Artturi <Artturin@artturin.com>
This commit is contained in:
parent
361d86ea26
commit
92b0e34180
@ -8,6 +8,8 @@ stdenv.mkDerivation rec {
|
||||
url = "mirror://debian/pool/main/c/cramfsswap/${pname}_${version}.tar.xz";
|
||||
sha256 = "10mj45zx71inaa3l1d81g64f7yn1xcprvq4v4yzpdwbxqmqaikw1";
|
||||
};
|
||||
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=996964
|
||||
patches = [ ./parallel-make.patch ];
|
||||
|
||||
# Needed for cross-compilation
|
||||
postPatch = ''
|
||||
|
14
pkgs/os-specific/linux/cramfsswap/parallel-make.patch
Normal file
14
pkgs/os-specific/linux/cramfsswap/parallel-make.patch
Normal file
@ -0,0 +1,14 @@
|
||||
Fix parallel build failure bya dding the dependency.
|
||||
|
||||
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=996964
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -6,7 +6,7 @@ debian: cramfsswap
|
||||
cramfsswap: cramfsswap.c
|
||||
$(CC) -Wall -g -O $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o cramfsswap cramfsswap.c -lz
|
||||
|
||||
-strip:
|
||||
+strip: cramfsswap
|
||||
strip cramfsswap
|
||||
|
||||
install: cramfsswap
|
Loading…
Reference in New Issue
Block a user