--- a/ncftp.SlackBuild 2021-02-13 01:50:59.925034567 +0200 +++ b/ncftp.SlackBuild 2021-02-13 01:51:21.713030524 +0200 @@ -52,6 +52,10 @@ SLKCFLAGS="-O2 -fcommon" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC -fcommon" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC -fcommon" +elif [ "$ARCH" = "riscv64" ]; then + SLKCFLAGS="-O2 -fPIC -fcommon" else SLKCFLAGS="-O2 -fcommon" fi