network/sshuttle: Added aarch64 flags

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Arn0 2024-01-18 16:04:58 +01:00 committed by Willy Sudiarto Raharjo
parent 4a7fa349b8
commit a1327690d4
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -62,6 +62,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=""
@ -84,10 +87,6 @@ find -L . \
python3 setup.py install --root=$PKG
mkdir -p $PKG/usr/man/man8
cat $TMP/$PRGNAM-$VERSION/Documentation/$PRGNAM.8 | gzip -9c > \
$PKG/usr/man/man8/$PRGNAM.8.gz
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
CHANGES.rst LICENSE README.rst \