--- a/vulkan-sdk.SlackBuild 2021-06-15 19:21:15.903798831 +0000 +++ b/vulkan-sdk.SlackBuild 2021-06-19 08:31:16.592908287 +0000 @@ -57,6 +57,12 @@ elif [ "$ARCH" = "s390" ]; then SLKCFLAGS="-O2" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +elif [ "$ARCH" = "riscv64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" @@ -480,6 +486,10 @@ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \+ +# riscv64 +install -Dm755 $CWD/config.guess autoconf/ || exit 1 +xzcat $CWD/config-ix.cmake-riscv64.patch.xz | patch -p1 --verbose || exit 1 + mkdir -p build cd build cmake \