diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2022-02-10 20:58:33 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-12 00:29:43 +0700 |
commit | d6801b15af426593929358a420dd0f20610f0527 (patch) | |
tree | c1c035bdc4cafd5e75ae3694b80085dd628aa9a2 /desktop/wmbiff | |
parent | 81333bf9ee9bb23b30d6ceabdf0d7376e2cde045 (diff) | |
download | slackbuilds-d6801b15af426593929358a420dd0f20610f0527.tar.gz |
desktop/wmbiff: Fix for gcc >= 10.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/wmbiff')
-rw-r--r-- | desktop/wmbiff/wmbiff.SlackBuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/desktop/wmbiff/wmbiff.SlackBuild b/desktop/wmbiff/wmbiff.SlackBuild index 9959b28607..6994b96b84 100644 --- a/desktop/wmbiff/wmbiff.SlackBuild +++ b/desktop/wmbiff/wmbiff.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" @@ -62,7 +62,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -CFLAGS="$SLKCFLAGS" \ +CFLAGS="$SLKCFLAGS -w -Wl,--allow-multiple-definition" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ |