From ff797dbdac7832577b2afe805dba0b541268e78d Mon Sep 17 00:00:00 2001 From: Andrew Clemons Date: Sun, 16 Apr 2023 17:58:54 +0900 Subject: system/alacritty: Fix 64bit build. I did not mean to stage this for release yet - I had made the changes to the build, but had not yet built and tested it. I inadvertently staged it to my branch and then pushed it out when I was processing other github updates last week. I have checked that this builds now and tested the resulting binary here locally too. Signed-off-by: Andrew Clemons Signed-off-by: Willy Sudiarto Raharjo --- system/alacritty/alacritty.SlackBuild | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'system') diff --git a/system/alacritty/alacritty.SlackBuild b/system/alacritty/alacritty.SlackBuild index e70d7751cc3f4..0c3939e3e1597 100644 --- a/system/alacritty/alacritty.SlackBuild +++ b/system/alacritty/alacritty.SlackBuild @@ -57,15 +57,19 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" CARGOTARGET="--target $ARCH-unknown-linux-gnu" + LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" CARGOTARGET="--target $ARCH-unknown-linux-gnu" + LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ] || [ "$ARCH" = "aarch64" ]; then SLKCFLAGS="-O2 -fPIC" CARGOTARGET="--target $ARCH-unknown-linux-gnu" + LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" CARGOTARGET="" + LIBDIRSUFFIX="" fi set -e -- cgit v1.2.3