libraries/htmlcxx: Added aarch64 flags

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Arn0 2024-01-18 16:05:08 +01:00 committed by Willy Sudiarto Raharjo
parent 302fbbe0e5
commit 7708447f00
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=""
@ -101,7 +104,7 @@ make
make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a ASF-2.0 AUTHORS COPYING ChangeLog INSTALL LGPL_V2 README \
cp -a ASF-2.0 AUTHORS COPYING ChangeLog LGPL_V2 README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild