aboutsummaryrefslogtreecommitdiff
path: root/development/gcc5
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-05-16 00:44:16 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-05-20 11:17:49 +0700
commitae3369a8279580b04d31b0654d1afeb2f461bf26 (patch)
tree20c548cb9175308d6e87bf68a28a214f06698d84 /development/gcc5
parent2412df271cd1f0aa573e2e136451178e05fec054 (diff)
development/gcc5: Fix -march for i486, keep sbolint quiet.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/gcc5')
-rw-r--r--development/gcc5/gcc5.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/development/gcc5/gcc5.SlackBuild b/development/gcc5/gcc5.SlackBuild
index bb0810684720..791e081d9317 100644
--- a/development/gcc5/gcc5.SlackBuild
+++ b/development/gcc5/gcc5.SlackBuild
@@ -101,16 +101,18 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
+###sbolint off
if [ "$ARCH" = "i386" ]; then
SLKCFLAGS="-O2 -march=i386 -mcpu=i686"
SLKLDFLAGS=""
LIBDIRSUFFIX=""
LIB_ARCH=i386
elif [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
+ SLKCFLAGS="-O2 -march=i486 -mtune=i686"
SLKLDFLAGS=""
LIBDIRSUFFIX=""
LIB_ARCH=i386
+###sbolint on
elif [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
SLKLDFLAGS=""