diff --git a/Cross.toml b/Cross.toml index de4c8eb..352ed78 100644 --- a/Cross.toml +++ b/Cross.toml @@ -4,5 +4,8 @@ default-target = "x86_64-unknown-linux-gnu" [target.x86_64-unknown-linux-gnu] pre-build = [ "dpkg --add-architecture $CROSS_DEB_ARCH", - "apt-get update && apt-get install --assume-yes libssl-dev:$CROSS_DEB_ARCH" + "apt-get update", + "apt-get install --assume-yes libssl-dev:$CROSS_DEB_ARCH", + "apt-get install --assume-yes gcc-10:$CROSS_DEB_ARCH", + "update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 60" ]