summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Grosbein <eugen@FreeBSD.org>2020-08-27 15:47:15 +0000
committerEugene Grosbein <eugen@FreeBSD.org>2020-08-27 15:47:15 +0000
commit7af5c88cc7d53db8f1404692c7955d801e24df61 (patch)
tree082ac1d8b4866a1f58fa6647c4be9433ee785d09
parentgames/four-in-a-row: fix build on recent current (diff)
games/bsdgames: fix build for clang 11 and gcc 10 (FreeBSD 13)
Add -fcommon to CFLAGS as patching this historic code would be too invasive. PORTREVISION not bumped as it fixes build for FreeBSD 13. Reported by: pkg-fallout
Notes
Notes: svn path=/head/; revision=546355
-rw-r--r--games/bsdgames/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/games/bsdgames/Makefile b/games/bsdgames/Makefile
index cbcdf6347e6a..ab37e241f37c 100644
--- a/games/bsdgames/Makefile
+++ b/games/bsdgames/Makefile
@@ -19,6 +19,7 @@ GH_ACCOUNT= pianojockl
CONFLICTS= hangman-[0-9]*
+CFLAGS+= -fcommon
MAKE_ENV= NO_WERROR=1
MAKE_ARGS= BINGRP=${BINGRP}