aboutsummaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2021-10-03 22:51:42 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-09 13:10:52 +0700
commitde13cd765719f727d274395cf82bac2085c26579 (patch)
tree12357aa873126381b2436f915037e4bee8a78733 /desktop
parent99b623a181e7767604d4c05327b1341d92d6786f (diff)
desktop/wmSunMoon: Pass -fcommon with the CFLAGS 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')
-rw-r--r--desktop/wmSunMoon/wmSunMoon.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/wmSunMoon/wmSunMoon.SlackBuild b/desktop/wmSunMoon/wmSunMoon.SlackBuild
index 1cc3ad4626fa..c6d7aa55a703 100644
--- a/desktop/wmSunMoon/wmSunMoon.SlackBuild
+++ b/desktop/wmSunMoon/wmSunMoon.SlackBuild
@@ -65,7 +65,7 @@ find -L . \
cd wmSunMoon
mkdir -p $PKG/usr/{bin,man/man1,,man/man7,doc/$PRGNAM-$VERSION}
make \
- COPTS="$SLKCFLAGS" \
+ COPTS="$SLKCFLAGS -fcommon" \
INCDIR="-I/usr/include/X11" \
LIBDIR="-L/usr/lib${LIBDIRSUFFIX}/X11"
cp -a wmSunMoon $PKG/usr/bin