diff options
Diffstat (limited to 'system/alacritty/alacritty.SlackBuild')
-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 |