From f294f002f8f16fd9e84f10e62ae91f4d202b215c Mon Sep 17 00:00:00 2001 From: David Woodfall Date: Wed, 4 Nov 2020 12:54:07 +0000 Subject: network/elinks: Fix SLKCFLAGS. Signed-off-by: Dave Woodfall Signed-off-by: Willy Sudiarto Raharjo --- network/elinks/elinks.SlackBuild | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/network/elinks/elinks.SlackBuild b/network/elinks/elinks.SlackBuild index e14f23f2749fb..93cee7bfacdd5 100644 --- a/network/elinks/elinks.SlackBuild +++ b/network/elinks/elinks.SlackBuild @@ -23,7 +23,7 @@ PRGNAM=elinks VERSION=${VERSION:-git20131231} -BUILD=${BUILD:-12} +BUILD=${BUILD:-13} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -41,20 +41,20 @@ OUTPUT=${OUTPUT:-/tmp} # Added -fno-strict-aliasing -Wno-pointer-sign for a much more peaceful build if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-g0 -O0 -march=i486 -mtune=i686 -fno-strict-aliasing -Wno-pointer-sign" + SLKCFLAGS="-O2 -march=i486 -mtune=i686 -fno-strict-aliasing -Wno-pointer-sign" LIBDIRSUFFIX="" elif [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-g0 -O0 -march=i586 -mtune=i686 -fno-strict-aliasing -Wno-pointer-sign" + SLKCFLAGS="-O2 -march=i586 -mtune=i686 -fno-strict-aliasing -Wno-pointer-sign" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-g0 -O0 -march=i686 -mtune=i686 -fno-strict-aliasing -Wno-pointer-sign" + SLKCFLAGS="-O2 -march=i686 -mtune=i686 -fno-strict-aliasing -Wno-pointer-sign" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-g0 -O0 -fPIC -fno-strict-aliasing -Wno-pointer-sign" + SLKCFLAGS="-O2 -fPIC -fno-strict-aliasing -Wno-pointer-sign" SLKLDFLAGS="-m64" LIBDIRSUFFIX="64" else - SLKCFLAGS="-go -O0" + SLKCFLAGS="-O2" LIBDIRSUFFIX="" fi -- cgit v1.2.3