diff options
author | orbea <orbea@riseup.net> | 2019-12-22 14:03:37 -0800 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-12-31 18:06:28 +0700 |
commit | 6adb19e6c5b48da4db7deb22af59e4b5b8845aa4 (patch) | |
tree | 00e3e56f054eabd1154e45e5aa0f0f2a9b0c235c /libraries/glfw3/glfw3.SlackBuild | |
parent | 990227ed36cc2249f2aeb8c0e5b43a4703cc9287 (diff) | |
download | slackbuilds-6adb19e6c5b48da4db7deb22af59e4b5b8845aa4.tar.gz |
libraries/glfw3: Fix download URL + i486=>i586.
Diffstat (limited to 'libraries/glfw3/glfw3.SlackBuild')
-rw-r--r-- | libraries/glfw3/glfw3.SlackBuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libraries/glfw3/glfw3.SlackBuild b/libraries/glfw3/glfw3.SlackBuild index 29af606599..4fb8c8f486 100644 --- a/libraries/glfw3/glfw3.SlackBuild +++ b/libraries/glfw3/glfw3.SlackBuild @@ -31,7 +31,7 @@ TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -42,8 +42,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -62,7 +62,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $SRCNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION chown -R root:root . find -L . \ |