diff options
author | luis <luis@370017ae-e619-0410-ac65-c121f96126d4> | 2007-02-04 01:37:31 +0000 |
---|---|---|
committer | luis <luis@370017ae-e619-0410-ac65-c121f96126d4> | 2007-02-04 01:37:31 +0000 |
commit | 5f3f71e558274240efbfa354694f1518fc8e6a2d (patch) | |
tree | c212bd0c3a96bdc095e71d36559028cfeeee92a9 /sys/apps | |
parent | 49b563bb9c4980f69a91485a7b64ffa7b24b7f13 (diff) | |
download | slackbuilds-5f3f71e558274240efbfa354694f1518fc8e6a2d.tar.gz slackbuilds-5f3f71e558274240efbfa354694f1518fc8e6a2d.tar.bz2 |
Updated: microcode_ctl
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1001 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'sys/apps')
-rwxr-xr-x | sys/apps/microcode_ctl/microcode_ctl.SlackBuild | 18 |
1 files changed, 1 insertions, 17 deletions
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 |