squashfs: Fix compile with GCC 10
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 24 May 2020 10:23:31 +0000 (12:23 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 24 May 2020 12:38:40 +0000 (14:38 +0200)
commit1bbc1aa884902fd05cc579b53d68b2ba0b18683f
treee94686dc28785c09d189ffe957c0e3a5b2627a79
parente35e40ad824eab9d51cdd690fb747e576e01412f
squashfs: Fix compile with GCC 10

Fixes the following build error with GCC 10:
/usr/bin/ld: read_fs.o:(.bss+0x0): multiple definition of `swap'; mksquashfs.o:(.bss+0x1b2a88): first defined here
And a compile warning.

Fixes: FS#3104, FS#3119
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
tools/squashfs/patches/140-gcc-10-fix.patch [new file with mode: 0644]