summaryrefslogtreecommitdiffstats
path: root/audio/xcfa/xcfa.SlackBuild
diff options
context:
space:
mode:
author David Woodfall <dave@slackbuilds.org>2021-04-22 08:36:10 +0000
committer Dave Woodfall <dave@slackbuilds.org>2021-04-22 14:07:04 +0000
commit9d370335818474b411c9341b777c3390f63a5b30 (patch)
tree439e983de2b5040bca4ad37d30306ef54e69bd0c /audio/xcfa/xcfa.SlackBuild
parentc26cc0a3f5bbacbf3c7ad15fba3d8546b1bde784 (diff)
downloadslackbuilds-9d370335818474b411c9341b777c3390f63a5b30.tar.gz
slackbuilds-9d370335818474b411c9341b777c3390f63a5b30.tar.xz
audio/xcfa: Fix for gcc 10.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Diffstat (limited to 'audio/xcfa/xcfa.SlackBuild')
-rw-r--r--audio/xcfa/xcfa.SlackBuild5
1 files changed, 2 insertions, 3 deletions
diff --git a/audio/xcfa/xcfa.SlackBuild b/audio/xcfa/xcfa.SlackBuild
index 4d1b2271f5..91e75af4b7 100644
--- a/audio/xcfa/xcfa.SlackBuild
+++ b/audio/xcfa/xcfa.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=xcfa
VERSION=${VERSION:-5.0.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -70,7 +70,6 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -80,7 +79,7 @@ CXXFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
-make
+make CFLAGS="$SLKCFLAGS -fcommon"
make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \