From ac57cc99aa88d3d5bcbc8e90c8e930f7822e8aba Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Mon, 15 Nov 2021 15:26:05 +0100 Subject: [PATCH] buildflags.md: Mention optional -fcommon under compiler flags --- buildflags.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/buildflags.md b/buildflags.md index 18f6643..ef08e2e 100644 --- a/buildflags.md +++ b/buildflags.md @@ -235,6 +235,8 @@ The general (architecture-independent) build flags are: * `-grecord-gcc-switches`: Include select GCC command line switches in the DWARF debugging information. This is useful for detecting the presence of certain build flags and general hardening coverage. +* `-fcommon`: This optional flag is used to build legacy software + which relies on C tentative definitions. It is disabled by default. For hardened builds (which are enabled by default, see above for how to disable them), the flag