From 7c263fa7a47002f6cb6fe71f973b3a2b7cc25486 Mon Sep 17 00:00:00 2001 From: Sven Schwermer Date: Thu, 4 Jun 2020 20:58:32 +0200 Subject: [PATCH] Make build GCC v10 compatible GCC version 10 changes the default behaviour from -fcommon to -fno-common which results in a linker error. Signed-off-by: Sven Schwermer --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index b1bc341..98a8a29 100755 --- a/build.sh +++ b/build.sh @@ -34,4 +34,4 @@ tar -zxvf squashfs4.3.tar.gz cd squashfs4.3 patch -p0 < ../patches/patch0.txt cd squashfs-tools -make && $SUDO make install +make EXTRA_CFLAGS=-fcommon && $SUDO make install