summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiclas Zeising <zeising@FreeBSD.org>2020-08-20 23:10:00 +0000
committerNiclas Zeising <zeising@FreeBSD.org>2020-08-20 23:10:00 +0000
commit4bcdd43cf0a6d4dfd999708cc602de9b49bd5403 (patch)
treeb5562bc50abfe4abe80657ca50dd0a25d97b4720
parentFix build on FreeBSD 13 (diff)
security/gnupg1: Build with -fcommon
With llvm 11, builds are using -fno-common by default. I've tried to fix gnupg1 to build with this, but it is qyite hard and requires a lot of patches. In the meantime, upstream code has changed significantly, and gnupg1 is old, so just switch it to use -fcommon instead, to make it build. MFH: 2020Q3 (implicit, -fno-common fixes, ok by joenum)
Notes
Notes: svn path=/head/; revision=545570
-rw-r--r--security/gnupg1/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/security/gnupg1/Makefile b/security/gnupg1/Makefile
index ea442b483c5d..b3ef6cf3bc9e 100644
--- a/security/gnupg1/Makefile
+++ b/security/gnupg1/Makefile
@@ -19,6 +19,7 @@ USES= charsetfix compiler cpe gmake readline tar:bzip2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-camellia \
--enable-noexecstack
+CFLAGS+= -fcommon
INFO= gnupg1
DOCSDIR= ${PREFIX}/share/doc/gnupg1