diff options
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/wmphoto+/wmphoto+.SlackBuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/desktop/wmphoto+/wmphoto+.SlackBuild b/desktop/wmphoto+/wmphoto+.SlackBuild index 7df2ed25ae2ca..cbb64b281211f 100644 --- a/desktop/wmphoto+/wmphoto+.SlackBuild +++ b/desktop/wmphoto+/wmphoto+.SlackBuild @@ -15,7 +15,7 @@ PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -33,8 +33,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" @@ -64,7 +64,7 @@ find -L . \ cd wmphoto make \ - CC="gcc -fgnu89-inline $SLKCFLAGS" + CC="gcc -fgnu89-inline $SLKCFLAGS -w -Wl,--allow-multiple-definition" # Copy executable to the correct location mkdir -p $PKG/usr/bin |