blob: affd94daefe7126957ffd7a38fe9f0a536e3e137 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--- a/make.c
+++ b/make.c
@@ -139,6 +139,8 @@
static int MakeBuildChild(void *, void *);
static int MakeBuildParent(void *, void *);
+FILE *debug_file;
+
MAKE_ATTR_DEAD static void
make_abort(GNode *gn, int line)
{
--- a/make.h
+++ b/make.h
@@ -464,7 +464,7 @@
* There is one bit per module. It is up to the module what debug
* information to print.
*/
-FILE *debug_file; /* Output written here - default stdout */
+extern FILE *debug_file; /* Output written here - default stdout */
extern int debug;
#define DEBUG_ARCH 0x00001
#define DEBUG_COND 0x00002
|