diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2018-02-28 15:47:48 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-03-03 08:42:08 +0700 |
commit | 44e3b345840b641407d091da4191c175cdc70a6a (patch) | |
tree | a4619f53cca4d129fba0510e57faf1c0a6d7bb6e /system/audit/audit.SlackBuild | |
parent | 8d1f9b0be9a7b72b97ee945e7a1c48cd719c3a6d (diff) | |
download | slackbuilds-44e3b345840b641407d091da4191c175cdc70a6a.tar.gz |
system/audit: Switch to i586, fix i686 build.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/audit/audit.SlackBuild')
-rw-r--r-- | system/audit/audit.SlackBuild | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/system/audit/audit.SlackBuild b/system/audit/audit.SlackBuild index 393cbcdcbe..c18f98a8b8 100644 --- a/system/audit/audit.SlackBuild +++ b/system/audit/audit.SlackBuild @@ -29,7 +29,7 @@ TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -40,11 +40,11 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" -elif [ "$ARCH" = "s390" ]; then - SLKCFLAGS="-O2" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" |