python/python3-python-editor: Added aarch64 flags

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Arn0 2024-01-18 16:06:11 +01:00 committed by Willy Sudiarto Raharjo
parent ad95416071
commit ca6e289a5c
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
1 changed files with 3 additions and 1 deletions

View File

@ -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