summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author David Woodfall <dave@slackbuilds.org>2020-11-04 12:54:07 +0000
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2020-11-07 14:02:25 +0700
commitf294f002f8f16fd9e84f10e62ae91f4d202b215c (patch)
tree00e93801e3be0ce4d9b1af2ff50fc1b4eba6b328
parentc7f07df461c8e96190f0062f7d1adf52fa1a7151 (diff)
downloadslackbuilds-f294f002f8f16fd9e84f10e62ae91f4d202b215c.tar.gz
slackbuilds-f294f002f8f16fd9e84f10e62ae91f4d202b215c.tar.xz
network/elinks: Fix SLKCFLAGS.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--network/elinks/elinks.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/network/elinks/elinks.SlackBuild b/network/elinks/elinks.SlackBuild
index e14f23f274..93cee7bfac 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