diff options
Diffstat (limited to 'development/gnulib')
-rw-r--r-- | development/gnulib/gnulib.SlackBuild | 27 |
1 files changed, 4 insertions, 23 deletions
diff --git a/development/gnulib/gnulib.SlackBuild b/development/gnulib/gnulib.SlackBuild index 0e385dba91d8..7510095d8539 100644 --- a/development/gnulib/gnulib.SlackBuild +++ b/development/gnulib/gnulib.SlackBuild @@ -17,21 +17,16 @@ # reasons, I'm going to package this. Hopefully this saves someone else # some work in the future. +# 20230214 bkw: BUILD=2, make this noarch, no other changes. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=gnulib VERSION=${VERSION:-20140202} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi +ARCH=noarch if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" @@ -42,20 +37,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG |