aboutsummaryrefslogtreecommitdiff
path: root/games/gnugo
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2021-08-27 19:45:22 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-08-30 06:55:46 +0700
commit24cd2ad3916530a8106a178ad20612e554d110e7 (patch)
tree62f26b22fee15ab0a1cd90cfd7052c1d4a70deb9 /games/gnugo
parent634c5e1fb7ad553974a2ed4903b50eb351e8fc0c (diff)
games/gnugo: Pass -fcommon for gcc >= 10.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/gnugo')
-rw-r--r--games/gnugo/gnugo.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/gnugo/gnugo.SlackBuild b/games/gnugo/gnugo.SlackBuild
index 2a1712300890..42bbef4a0a04 100644
--- a/games/gnugo/gnugo.SlackBuild
+++ b/games/gnugo/gnugo.SlackBuild
@@ -79,7 +79,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -fcommon" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \