aboutsummaryrefslogtreecommitdiff
path: root/desktop/bspwm
diff options
context:
space:
mode:
authordookerdo <dookerdo@gmail.com>2021-03-08 10:22:54 +0100
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 23:14:48 -0500
commita6e4631eafd47abf2949e66657dcdc1d39f1bc73 (patch)
tree7778c2d4c496184f96ecf783609c303e162909ef /desktop/bspwm
parent59c8c9b2c2ece74b757c7bbb0ec7ad26ede41210 (diff)
desktop/bspwm: Pass -fcommon for gcc >= 10.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'desktop/bspwm')
-rw-r--r--desktop/bspwm/bspwm.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/bspwm/bspwm.SlackBuild b/desktop/bspwm/bspwm.SlackBuild
index 3dacd7706e661..94669e4be8d92 100644
--- a/desktop/bspwm/bspwm.SlackBuild
+++ b/desktop/bspwm/bspwm.SlackBuild
@@ -73,7 +73,7 @@ find -L . \
sed -i "s|share/man|man|" Makefile
sed -i "s|share/doc/bspwm|doc/bspwm-$VERSION|" Makefile
-CFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -fcommon" \
CXXFLAGS="$SLKCFLAGS" \
make PREFIX=/usr
make PREFIX=/usr DESTDIR=$PKG install