From ca6e289a5c08c93ad198e57c3b4b385519edb546 Mon Sep 17 00:00:00 2001 From: Arn0 Date: Thu, 18 Jan 2024 16:06:11 +0100 Subject: [PATCH] python/python3-python-editor: Added aarch64 flags Signed-off-by: Willy Sudiarto Raharjo --- python/python3-python-editor/python3-python-editor.SlackBuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python/python3-python-editor/python3-python-editor.SlackBuild b/python/python3-python-editor/python3-python-editor.SlackBuild index 0278369a3e..3f05b2ced9 100644 --- a/python/python3-python-editor/python3-python-editor.SlackBuild +++ b/python/python3-python-editor/python3-python-editor.SlackBuild @@ -60,6 +60,9 @@ elif [ "$ARCH" = "i686" ]; then elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" LIBDIRSUFFIX="" @@ -87,7 +90,6 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a README.md LICENSE PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION -# dw: Mon, 24 Oct 8:28 PM BST 2022: find $PKG/usr/doc/$PRGNAM-$VERSION -type f -execdir chmod -c 644 '{}' \+ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild