diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2023-04-16 17:58:54 +0900 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-04-22 11:38:17 +0700 |
commit | ff797dbdac7832577b2afe805dba0b541268e78d (patch) | |
tree | ad0b2c68524c2bea6eff915fa6327edc346ca5fb /system | |
parent | 678d97e610dbbbbb0f44177302a68964ad3d26f7 (diff) |
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 <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r-- | system/alacritty/alacritty.SlackBuild | 4 |
1 files changed, 4 insertions, 0 deletions
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 |