--- a/kde.options	2021-02-13 01:08:14.522498162 +0200
+++ b/kde.options	2021-02-13 01:08:50.010455714 +0200
@@ -39,6 +39,12 @@
   elif [ "$ARCH" = "armv7hl" ]; then
     export SLKCFLAGS="-O2 -march=armv7-a -mfpu=vfpv3-d16"
     export LIBDIRSUFFIX=""
+  elif [ "$ARCH" = "aarch64" ]; then
+    export SLKCFLAGS="-O2 -fPIC"
+    export LIBDIRSUFFIX="64"
+  elif [ "$ARCH" = "riscv64" ]; then
+    export SLKCFLAGS="-O2 -fPIC"
+    export LIBDIRSUFFIX="64"
   else
     export SLKCFLAGS="-O2"
     export LIBDIRSUFFIX=""
