contrib: gpg-error: Backport a patch to fix building with -fno-common
commit7c33db1764d627ef064aadb641c46ff68abd5cc3
authorMartin Storsjö <martin@martin.st>
Tue, 10 Mar 2020 08:52:37 +0000 (10 10:52 +0200)
committerMartin Storsjö <martin@martin.st>
Tue, 10 Mar 2020 11:50:48 +0000 (10 13:50 +0200)
tree81675c6c8ea0fc1b76545fccaef0210b56de99cd
parent754002efdb7c972bbf9675c6d0cb722f8c3faf2e
contrib: gpg-error: Backport a patch to fix building with -fno-common

GCC 10 and Clang 11 are switching to -fno-common by default,
which exposes bugs in libraries that don't use "extern" properly
for variable declarations. Backport a libgpg-error patch (upstream
commit 21dd885eecdee13da1689519e2fc50fcf64f6ef2) that fixes
this issue.
contrib/src/gpg-error/rules.mak
contrib/src/gpg-error/win32-extern-struct.patch [new file with mode: 0644]