mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
squashfs: add patch for gzip, build with -fwhole-program
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
c23fe2f641
commit
9539ffefbc
@ -24,6 +24,8 @@
|
||||
|
||||
setup_toolchain host
|
||||
|
||||
LDFLAGS="$LDFLAGS -fwhole-program"
|
||||
|
||||
cd $BUILD/$1*/squashfs-tools
|
||||
make mksquashfs \
|
||||
XZ_SUPPORT=1 \
|
||||
|
@ -0,0 +1,12 @@
|
||||
diff -Naur squashfs4.2-old/squashfs-tools/compressor.c squashfs4.2-new/squashfs-tools/compressor.c
|
||||
--- squashfs4.2-old/squashfs-tools/compressor.c 2011-02-11 07:49:24.000000000 -0800
|
||||
+++ squashfs4.2-new/squashfs-tools/compressor.c 2011-03-04 10:27:47.000000000 -0800
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
#ifndef GZIP_SUPPORT
|
||||
static struct compressor gzip_comp_ops = {
|
||||
- NULL, NULL, NULL, NULL, NULL, NULL, ZLIB_COMPRESSION, "gzip", 0
|
||||
+ NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, ZLIB_COMPRESSION, "gzip", 0
|
||||
};
|
||||
#else
|
||||
extern struct compressor gzip_comp_ops;
|
Loading…
x
Reference in New Issue
Block a user