summaryrefslogtreecommitdiff
path: root/development/mg-openbsd/mg-openbsd.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/mg-openbsd/mg-openbsd.SlackBuild')
-rw-r--r--development/mg-openbsd/mg-openbsd.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/development/mg-openbsd/mg-openbsd.SlackBuild b/development/mg-openbsd/mg-openbsd.SlackBuild
index c5672dc843..daf44a0c73 100644
--- a/development/mg-openbsd/mg-openbsd.SlackBuild
+++ b/development/mg-openbsd/mg-openbsd.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for mg-openbsd
-# Copyright 2013 Scott Parker, Vancouver BC, Canada
+# Copyright 2013-2015 Scott Parker, Vancouver BC, Canada
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mg-openbsd
-VERSION=${VERSION:-5.4.0}
+VERSION=${VERSION:-5.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -41,16 +41,16 @@ PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-march=i486 -mtune=i686"
+ SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-march=i686 -mtune=i686"
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-fPIC"
+ SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
- SLKCFLAGS=""
+ SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi