From 16a6c0564282f96e70100d7d15ce9c41b6d5fbbe Mon Sep 17 00:00:00 2001 From: mara Date: Sun, 6 Dec 2020 23:19:40 +0200 Subject: [PATCH] added support for aarch64 architecture Signed-off-by: Willy Sudiarto Raharjo --- accountsservice/accountsservice.SlackBuild | 3 +++ caribou/caribou.SlackBuild | 4 ++++ cinnamon-control-center/cinnamon-control-center.SlackBuild | 3 +++ cinnamon-desktop/cinnamon-desktop.SlackBuild | 3 +++ cinnamon-menus/cinnamon-menus.SlackBuild | 3 +++ cinnamon-screensaver/cinnamon-screensaver.SlackBuild | 3 +++ cinnamon-session/cinnamon-session.SlackBuild | 3 +++ cinnamon-settings-daemon/cinnamon-settings-daemon.SlackBuild | 3 +++ cinnamon/cinnamon.SlackBuild | 3 +++ cjs/cjs.SlackBuild | 3 +++ clutter-gtk/clutter-gtk.SlackBuild | 3 +++ clutter/clutter.SlackBuild | 3 +++ cogl/cogl.SlackBuild | 3 +++ colord/colord.SlackBuild | 3 +++ gnome-menus/gnome-menus.SlackBuild | 3 +++ libcroco/libcroco.SlackBuild | 3 +++ libdbusmenu/libdbusmenu.SlackBuild | 3 +++ libgee/libgee.SlackBuild | 3 +++ libgnomekbd/libgnomekbd.SlackBuild | 3 +++ libgtop/libgtop.SlackBuild | 3 +++ libgusb/libgusb.SlackBuild | 3 +++ libtimezonemap/libtimezonemap.SlackBuild | 3 +++ metacity/metacity.SlackBuild | 3 +++ mozjs/mozjs.SlackBuild | 3 +++ muffin/muffin.SlackBuild | 3 +++ nemo/nemo.SlackBuild | 3 +++ pangox-compat/pangox-compat.SlackBuild | 3 +++ pexpect/pexpect.SlackBuild | 3 +++ polib/polib.SlackBuild | 3 +++ ptyprocess/ptyprocess.SlackBuild | 3 +++ python-pam/python-pam.SlackBuild | 3 +++ setproctitle/setproctitle.SlackBuild | 3 +++ tinycss/tinycss.SlackBuild | 3 +++ xapp/xapp.SlackBuild | 3 +++ zenity/zenity.SlackBuild | 3 +++ 35 files changed, 106 insertions(+) diff --git a/accountsservice/accountsservice.SlackBuild b/accountsservice/accountsservice.SlackBuild index fdf906d..127ed5e 100644 --- a/accountsservice/accountsservice.SlackBuild +++ b/accountsservice/accountsservice.SlackBuild @@ -48,6 +48,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/caribou/caribou.SlackBuild b/caribou/caribou.SlackBuild index d0eb31f..3a75520 100644 --- a/caribou/caribou.SlackBuild +++ b/caribou/caribou.SlackBuild @@ -48,6 +48,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" @@ -71,6 +74,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +PYTHON="/usr/bin/python3" \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ diff --git a/cinnamon-control-center/cinnamon-control-center.SlackBuild b/cinnamon-control-center/cinnamon-control-center.SlackBuild index d921777..2b8bc25 100644 --- a/cinnamon-control-center/cinnamon-control-center.SlackBuild +++ b/cinnamon-control-center/cinnamon-control-center.SlackBuild @@ -48,6 +48,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/cinnamon-desktop/cinnamon-desktop.SlackBuild b/cinnamon-desktop/cinnamon-desktop.SlackBuild index 24b3c26..c5043d3 100644 --- a/cinnamon-desktop/cinnamon-desktop.SlackBuild +++ b/cinnamon-desktop/cinnamon-desktop.SlackBuild @@ -48,6 +48,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/cinnamon-menus/cinnamon-menus.SlackBuild b/cinnamon-menus/cinnamon-menus.SlackBuild index fd342e4..e1311fa 100644 --- a/cinnamon-menus/cinnamon-menus.SlackBuild +++ b/cinnamon-menus/cinnamon-menus.SlackBuild @@ -48,6 +48,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/cinnamon-screensaver/cinnamon-screensaver.SlackBuild b/cinnamon-screensaver/cinnamon-screensaver.SlackBuild index 1433bc3..3a1ac76 100644 --- a/cinnamon-screensaver/cinnamon-screensaver.SlackBuild +++ b/cinnamon-screensaver/cinnamon-screensaver.SlackBuild @@ -48,6 +48,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/cinnamon-session/cinnamon-session.SlackBuild b/cinnamon-session/cinnamon-session.SlackBuild index b851b3e..e30c6b7 100644 --- a/cinnamon-session/cinnamon-session.SlackBuild +++ b/cinnamon-session/cinnamon-session.SlackBuild @@ -48,6 +48,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/cinnamon-settings-daemon/cinnamon-settings-daemon.SlackBuild b/cinnamon-settings-daemon/cinnamon-settings-daemon.SlackBuild index 867f176..24944f4 100644 --- a/cinnamon-settings-daemon/cinnamon-settings-daemon.SlackBuild +++ b/cinnamon-settings-daemon/cinnamon-settings-daemon.SlackBuild @@ -48,6 +48,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/cinnamon/cinnamon.SlackBuild b/cinnamon/cinnamon.SlackBuild index e1c2872..bc13d1e 100644 --- a/cinnamon/cinnamon.SlackBuild +++ b/cinnamon/cinnamon.SlackBuild @@ -48,6 +48,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/cjs/cjs.SlackBuild b/cjs/cjs.SlackBuild index 1aab755..4259769 100644 --- a/cjs/cjs.SlackBuild +++ b/cjs/cjs.SlackBuild @@ -48,6 +48,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/clutter-gtk/clutter-gtk.SlackBuild b/clutter-gtk/clutter-gtk.SlackBuild index 0288941..8a024ba 100644 --- a/clutter-gtk/clutter-gtk.SlackBuild +++ b/clutter-gtk/clutter-gtk.SlackBuild @@ -48,6 +48,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/clutter/clutter.SlackBuild b/clutter/clutter.SlackBuild index 8c84a25..feb67ac 100644 --- a/clutter/clutter.SlackBuild +++ b/clutter/clutter.SlackBuild @@ -48,6 +48,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/cogl/cogl.SlackBuild b/cogl/cogl.SlackBuild index 0d8d49c..57bf689 100644 --- a/cogl/cogl.SlackBuild +++ b/cogl/cogl.SlackBuild @@ -48,6 +48,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/colord/colord.SlackBuild b/colord/colord.SlackBuild index e9927ef..849d38b 100644 --- a/colord/colord.SlackBuild +++ b/colord/colord.SlackBuild @@ -48,6 +48,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/gnome-menus/gnome-menus.SlackBuild b/gnome-menus/gnome-menus.SlackBuild index ae1e465..6ef8fc0 100644 --- a/gnome-menus/gnome-menus.SlackBuild +++ b/gnome-menus/gnome-menus.SlackBuild @@ -48,6 +48,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/libcroco/libcroco.SlackBuild b/libcroco/libcroco.SlackBuild index b15d159..6ecc04f 100644 --- a/libcroco/libcroco.SlackBuild +++ b/libcroco/libcroco.SlackBuild @@ -48,6 +48,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/libdbusmenu/libdbusmenu.SlackBuild b/libdbusmenu/libdbusmenu.SlackBuild index 86e2f11..c863d27 100644 --- a/libdbusmenu/libdbusmenu.SlackBuild +++ b/libdbusmenu/libdbusmenu.SlackBuild @@ -48,6 +48,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/libgee/libgee.SlackBuild b/libgee/libgee.SlackBuild index b688d12..3f79941 100644 --- a/libgee/libgee.SlackBuild +++ b/libgee/libgee.SlackBuild @@ -32,6 +32,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/libgnomekbd/libgnomekbd.SlackBuild b/libgnomekbd/libgnomekbd.SlackBuild index b344c0b..a1d84fe 100644 --- a/libgnomekbd/libgnomekbd.SlackBuild +++ b/libgnomekbd/libgnomekbd.SlackBuild @@ -48,6 +48,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/libgtop/libgtop.SlackBuild b/libgtop/libgtop.SlackBuild index 57ecbcb..3052f6d 100644 --- a/libgtop/libgtop.SlackBuild +++ b/libgtop/libgtop.SlackBuild @@ -51,6 +51,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/libgusb/libgusb.SlackBuild b/libgusb/libgusb.SlackBuild index c830a18..8666347 100644 --- a/libgusb/libgusb.SlackBuild +++ b/libgusb/libgusb.SlackBuild @@ -48,6 +48,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/libtimezonemap/libtimezonemap.SlackBuild b/libtimezonemap/libtimezonemap.SlackBuild index e2dc9ac..2449c95 100644 --- a/libtimezonemap/libtimezonemap.SlackBuild +++ b/libtimezonemap/libtimezonemap.SlackBuild @@ -48,6 +48,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/metacity/metacity.SlackBuild b/metacity/metacity.SlackBuild index 710d81d..a182013 100644 --- a/metacity/metacity.SlackBuild +++ b/metacity/metacity.SlackBuild @@ -48,6 +48,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/mozjs/mozjs.SlackBuild b/mozjs/mozjs.SlackBuild index 94558ec..38631a9 100644 --- a/mozjs/mozjs.SlackBuild +++ b/mozjs/mozjs.SlackBuild @@ -50,6 +50,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/muffin/muffin.SlackBuild b/muffin/muffin.SlackBuild index 896e58a..7b10536 100644 --- a/muffin/muffin.SlackBuild +++ b/muffin/muffin.SlackBuild @@ -48,6 +48,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/nemo/nemo.SlackBuild b/nemo/nemo.SlackBuild index 62d6839..0e7e658 100644 --- a/nemo/nemo.SlackBuild +++ b/nemo/nemo.SlackBuild @@ -48,6 +48,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/pangox-compat/pangox-compat.SlackBuild b/pangox-compat/pangox-compat.SlackBuild index 08b8cf8..a90fc62 100644 --- a/pangox-compat/pangox-compat.SlackBuild +++ b/pangox-compat/pangox-compat.SlackBuild @@ -51,6 +51,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "s390" ]; then SLKCFLAGS="-O2" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/pexpect/pexpect.SlackBuild b/pexpect/pexpect.SlackBuild index d144113..c150f71 100644 --- a/pexpect/pexpect.SlackBuild +++ b/pexpect/pexpect.SlackBuild @@ -50,6 +50,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/polib/polib.SlackBuild b/polib/polib.SlackBuild index 416dd16..195b8c6 100644 --- a/polib/polib.SlackBuild +++ b/polib/polib.SlackBuild @@ -46,6 +46,9 @@ if [ "$ARCH" = "i586" ]; then LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then LIBDIRSUFFIX="64" else diff --git a/ptyprocess/ptyprocess.SlackBuild b/ptyprocess/ptyprocess.SlackBuild index 7c370de..af94d76 100644 --- a/ptyprocess/ptyprocess.SlackBuild +++ b/ptyprocess/ptyprocess.SlackBuild @@ -48,6 +48,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/python-pam/python-pam.SlackBuild b/python-pam/python-pam.SlackBuild index 27b02ad..48d848b 100644 --- a/python-pam/python-pam.SlackBuild +++ b/python-pam/python-pam.SlackBuild @@ -49,6 +49,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/setproctitle/setproctitle.SlackBuild b/setproctitle/setproctitle.SlackBuild index c101665..eba621a 100644 --- a/setproctitle/setproctitle.SlackBuild +++ b/setproctitle/setproctitle.SlackBuild @@ -50,6 +50,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/tinycss/tinycss.SlackBuild b/tinycss/tinycss.SlackBuild index bd8bf71..cf7db56 100644 --- a/tinycss/tinycss.SlackBuild +++ b/tinycss/tinycss.SlackBuild @@ -50,6 +50,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/xapp/xapp.SlackBuild b/xapp/xapp.SlackBuild index d9b155f..44d53fa 100644 --- a/xapp/xapp.SlackBuild +++ b/xapp/xapp.SlackBuild @@ -48,6 +48,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" diff --git a/zenity/zenity.SlackBuild b/zenity/zenity.SlackBuild index 84a0756..c0281a0 100644 --- a/zenity/zenity.SlackBuild +++ b/zenity/zenity.SlackBuild @@ -30,6 +30,9 @@ if [ "$ARCH" = "i586" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64"