midipix / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

Blame patches/bmake_host/gcc10.patch

efe080
diff -ru bmake.orig/job.c bmake/job.c
efe080
--- bmake.orig/job.c	2020-04-09 14:03:57.232919836 +0200
efe080
+++ bmake/job.c	2020-06-14 22:19:09.776490793 +0200
efe080
@@ -180,6 +180,8 @@
efe080
 #define ABORT_WAIT	3   	    /* Waiting for jobs to finish */
efe080
 #define JOB_TOKENS	"+EI+"	    /* Token to requeue for each abort state */
efe080
 
efe080
+FILE *debug_file;
efe080
+
efe080
 /*
efe080
  * this tracks the number of tokens currently "out" to build jobs.
efe080
  */
efe080
diff -ru bmake.orig/make.h bmake/make.h
efe080
--- bmake.orig/make.h	2020-02-10 18:07:01.708744511 +0100
efe080
+++ bmake/make.h	2020-06-14 22:18:24.965773603 +0200
efe080
@@ -464,7 +464,7 @@
efe080
  *	There is one bit per module.  It is up to the module what debug
efe080
  *	information to print.
efe080
  */
efe080
-FILE *debug_file;		/* Output written here - default stdout */
efe080
+extern FILE *debug_file;	/* Output written here - default stdout */
efe080
 extern int debug;
efe080
 #define	DEBUG_ARCH	0x00001
efe080
 #define	DEBUG_COND	0x00002