1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00

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)
This commit is contained in:
Niclas Zeising 2020-08-20 23:10:00 +00:00
parent c2b29d424f
commit 4bcdd43cf0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=545570

View File

@ -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