aboutsummaryrefslogtreecommitdiff
path: root/games/cdogs-sdl
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2020-08-28 16:17:45 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2020-08-28 16:17:45 +0000
commitfb40f764d0c2f82dde53d19ce0836929db07c917 (patch)
tree8b18fe13eadefff07686a3988b2ec80a7ca79116 /games/cdogs-sdl
parentf74a84eb18e136815def69a595ba612f7ce62e9d (diff)
downloadports-fb40f764d0c2f82dde53d19ce0836929db07c917.tar.gz
ports-fb40f764d0c2f82dde53d19ce0836929db07c917.zip
games/cogs-sdl: fix build on recent current
- upstream has some WIP to fix build with gcc10: https://github.com/cxong/cdogs-sdl/commit/ee2b3acd126aeb091bfb115a6d25a25159e4d357 - unfortunately this was not enough, as it did not address the duplicte symbols
Notes
Notes: svn path=/head/; revision=546747
Diffstat (limited to 'games/cdogs-sdl')
-rw-r--r--games/cdogs-sdl/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/games/cdogs-sdl/Makefile b/games/cdogs-sdl/Makefile
index 426711030c03..71657c2a1fa6 100644
--- a/games/cdogs-sdl/Makefile
+++ b/games/cdogs-sdl/Makefile
@@ -15,4 +15,7 @@ USE_GITHUB= yes
GH_ACCOUNT= cxong
CMAKE_ARGS= -DCDOGS_DATA_DIR=${DATADIR}/
+# Fix with clang11
+CFLAGS+= -fcommon
+
.include <bsd.port.mk>