From 5f3f71e558274240efbfa354694f1518fc8e6a2d Mon Sep 17 00:00:00 2001 From: luis Date: Sun, 4 Feb 2007 01:37:31 +0000 Subject: Updated: microcode_ctl git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1001 370017ae-e619-0410-ac65-c121f96126d4 --- sys/apps/microcode_ctl/microcode_ctl.SlackBuild | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'sys/apps/microcode_ctl') diff --git a/sys/apps/microcode_ctl/microcode_ctl.SlackBuild b/sys/apps/microcode_ctl/microcode_ctl.SlackBuild index 838c81e5..6f13b586 100755 --- a/sys/apps/microcode_ctl/microcode_ctl.SlackBuild +++ b/sys/apps/microcode_ctl/microcode_ctl.SlackBuild @@ -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 -- cgit v1.2.3