From: fsLeg Date: Sat, 12 Feb 2022 19:16:38 +0000 (+0300) Subject: shadowsocks-rust: removed a useless variable X-Git-Url: https://git.t-rg.ws/?a=commitdiff_plain;h=1062cf5f616cc1b1432e361b13b9a82dc4f1429e;p=slackbuilds.git shadowsocks-rust: removed a useless variable --- diff --git a/shadowsocks-rust/shadowsocks-rust.SlackBuild b/shadowsocks-rust/shadowsocks-rust.SlackBuild index 4dcd17d..ea0d3d3 100755 --- a/shadowsocks-rust/shadowsocks-rust.SlackBuild +++ b/shadowsocks-rust/shadowsocks-rust.SlackBuild @@ -43,16 +43,12 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" - CARGOTARGET="--target i586-unknown-linux-gnu" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" - CARGOTARGET="--target i686-unknown-linux-gnu" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" - CARGOTARGET="--target x86_64-unknown-linux-gnu" else SLKCFLAGS="-O2" - CARGOTARGET="" fi set -e # Exit on most errors