aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2020-09-02 02:46:42 +0800
committerAlexey Dokuchaev <danfe@FreeBSD.org>2020-09-02 02:46:42 +0800
commit25bc2eabe344a16f5a4df084a4996c5b358c385b (patch)
treea47379c242b505a9eecd07190460cf7a1267481a /misc
parentf1a398f68d67c733065ef5c55b8ecc369fc5a779 (diff)
downloadfreebsd-ports-gnome-25bc2eabe344a16f5a4df084a4996c5b358c385b.tar.gz
freebsd-ports-gnome-25bc2eabe344a16f5a4df084a4996c5b358c385b.tar.zst
freebsd-ports-gnome-25bc2eabe344a16f5a4df084a4996c5b358c385b.zip
Force -fcommon for the time being, fixing the code looks impractical.
This is to fix the build against modern compilers (Clang 11, GCC 10). Reported by: pkg-fallout
Diffstat (limited to 'misc')
-rw-r--r--misc/geekcode/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/geekcode/Makefile b/misc/geekcode/Makefile
index 74ab62c402ca..b4298c4f9a67 100644
--- a/misc/geekcode/Makefile
+++ b/misc/geekcode/Makefile
@@ -12,7 +12,7 @@ COMMENT= Geek Code Generator
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
-MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
+MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -fcommon"
PLIST_FILES= bin/geekcode
PORTDOCS= geekcode.txt