]> gitweb.fluxo.info Git - slackbuilds.git/commitdiff
Updated: microcode_ctl
authorluis <luis@370017ae-e619-0410-ac65-c121f96126d4>
Sun, 4 Feb 2007 01:37:31 +0000 (01:37 +0000)
committerluis <luis@370017ae-e619-0410-ac65-c121f96126d4>
Sun, 4 Feb 2007 01:37:31 +0000 (01:37 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1001 370017ae-e619-0410-ac65-c121f96126d4

sys/apps/microcode_ctl/microcode_ctl.SlackBuild

index 838c81e56d1f55c778affef7b3a388a5a9e9bbc5..6f13b5860878e62423e40c7ea2b3e8de0eca2ccf 100755 (executable)
@@ -18,7 +18,7 @@ fi
 # Set variables
 SRC_NAME="microcode_ctl"
 PKG_NAME="microcode_ctl"
-ARCH=${ARCH:=i486}
+ARCH="i486"
 VERSION=${VERSION:=1.16}
 BUILD=${BUILD:=1ls}
 SRC_DIR=${SRC_DIR:=$CWD}
@@ -28,22 +28,6 @@ REPOS=${REPOS:=$TMP}
 PREFIX=${PREFIX:=/usr}
 PKG_SRC="$SRC_DIR/$SRC_NAME-$VERSION"
 
-# Set system libraries' path and optmization flags based on $ARCH
-LIBDIR="$PREFIX/lib"
-
-if [ "$ARCH" = "i386" ]; then
-  SLKCFLAGS="-O2 -march=i386 -mcpu=i686"
-elif [ "$ARCH" = "i486" ]; then
-  SLKCFLAGS="-O2 -march=i486 -mcpu=i686"
-elif [ "$ARCH" = "i686" ]; then
-  SLKCFLAGS="-O2 -march=i686"
-elif [ "$ARCH" = "s390" ]; then
-  SLKCFLAGS="-O2"
-elif [ "$ARCH" = "x86_64" ]; then
-  SLKCFLAGS="-O2"
-  LIBDIR="$PREFIX/lib64"
-fi
-
 # Set error codes (used by createpkg)
 ERROR_WGET=31;      ERROR_MAKE=32;      ERROR_INSTALL=33
 ERROR_MD5=34;       ERROR_CONF=35;      ERROR_HELP=36