From ade52aba538e7d1cd57a0496ecdf9ea27ab5e4eb Mon Sep 17 00:00:00 2001 From: Grissiom Date: Wed, 11 Jun 2008 06:40:54 +0800 Subject: [PATCH] make Module-Build noarch --- Module-Build/Module-Build.SlackBuild | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/Module-Build/Module-Build.SlackBuild b/Module-Build/Module-Build.SlackBuild index 5cb58d5..6ed36a9 100644 --- a/Module-Build/Module-Build.SlackBuild +++ b/Module-Build/Module-Build.SlackBuild @@ -6,7 +6,7 @@ PRGNAM=Module-Build VERSION=${VERSION:-0.2808} -ARCH=${ARCH:-i486} +ARCH=${ARCH:-noarch} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -18,14 +18,6 @@ OUTPUT=${OUTPUT:-/tmp} JOBS=${JOBS:-3} MAKEOPT="-s -j $JOBS" -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" -fi - set -e rm -rf $PKG -- 2.11.4.GIT