HomeFreeBSD

bmake: fix -fno-common build

Description

bmake: fix -fno-common build

debug was declared extern, but debug_file was not; correct this and define
debug_file in main.c (as debug is) to fix the -fno-common build.

-fno-common will become the default with GCC10/LLVM11.

MFC after: 3 days

Details

Provenance
kevansAuthored on
Parents
rS359432: gdb: compile with -fcommon explicitly
Branches
Unknown
Tags
Unknown