aboutsummaryrefslogtreecommitdiff
path: root/contrib/bmake/main.c
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2020-03-30 00:06:56 +0000
committerKyle Evans <kevans@FreeBSD.org>2020-03-30 00:06:56 +0000
commit661a2cb8026de0ff7aa7608fb9341e1f002e6c45 (patch)
tree6512ba49729f171e283e1f1e385cbca09dd801b5 /contrib/bmake/main.c
parent6f00f42ab62c063f484054f12dece8fbe7bbc8dc (diff)
downloadsrc-661a2cb8026de0ff7aa7608fb9341e1f002e6c45.tar.gz
src-661a2cb8026de0ff7aa7608fb9341e1f002e6c45.zip
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
Notes
Notes: svn path=/head/; revision=359433
Diffstat (limited to 'contrib/bmake/main.c')
-rw-r--r--contrib/bmake/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/bmake/main.c b/contrib/bmake/main.c
index 7dd4c504f122..b1e893e569e4 100644
--- a/contrib/bmake/main.c
+++ b/contrib/bmake/main.c
@@ -199,6 +199,8 @@ char *makeDependfile;
pid_t myPid;
int makelevel;
+FILE *debug_file;
+
Boolean forceJobs = FALSE;
/*