about summary refs log tree commit diff
path: root/pkgs/development/compilers/gcc/install-info-files-serially.patch
blob: bec7c0a158d0ff3ca8422c8176fd77dc6fa33c59 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff -Naur gcc-12.2.0/gcc/Makefile.in gcc-12.2.0-new/gcc/Makefile.in
--- gcc-12.2.0/gcc/Makefile.in	2022-08-19 10:09:52.280658631 +0200
+++ gcc-12.2.0-new/gcc/Makefile.in	2023-05-04 14:35:44.401420184 +0200
@@ -3781,6 +3781,11 @@
 	  fi; \
 	fi
 
+# We don't care about the order in which the info files are built, but
+# install-info doesn't support multiple parallel invocations writing to
+# the same `dir-file`, so we have to disable parallelism for that reason:
+.NOTPARALLEL: install-info
+
 # Install the info files.
 # $(INSTALL_DATA) might be a relative pathname, so we can't cd into srcdir
 # to do the install.