Home GnuPG
Diffusion GnuPG 809f2473c2c3

Set -fcommon compile option
809f2473c2c3Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Set -fcommon compile option

In gcc 10, the default was changed to -fno-common, triggering linker
errors since the code indeed uses extern declarations in such a way.

Turns out fixing these isn't easy, so rather just restore the previous
behaviour.

  • GnuPG-bug-id: T5215
  • Signed-off-by: Christoph Biedl <cb@gnupg.org>

Details

Provenance
cbiedlAuthored on Jan 22 2021, 11:50 AM
Parents
rGc8ad567e7c87: Protect error counter against overflow.
Branches
Unknown
Tags
Unknown
References
cb/T5215