aboutsummaryrefslogtreecommitdiff
path: root/network/thttpd
diff options
context:
space:
mode:
authorArn0 <yth@ythogtha.org>2024-01-18 16:04:59 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-01-19 09:51:04 +0700
commite495af2d9988fc8762c2cd7910ae454d231ead3d (patch)
treeb68aec9ad354ba6e796bfa12122e8a98193e4d35 /network/thttpd
parenta1327690d4a58e4e056307367f63c6304167e85b (diff)
network/thttpd: Added aarch64 flags
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/thttpd')
-rw-r--r--network/thttpd/thttpd.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/network/thttpd/thttpd.SlackBuild b/network/thttpd/thttpd.SlackBuild
index da277e629b7bb..31e062b2a3016 100644
--- a/network/thttpd/thttpd.SlackBuild
+++ b/network/thttpd/thttpd.SlackBuild
@@ -61,6 +61,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=""
@@ -172,7 +175,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a FILES INSTALL README TODO scripts $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a FILES README TODO scripts $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install