Files
macports-ports/lang/gcc6/files/notparallel-install-headers.patch
Ryan Schmidt 61e9526f91 gcc[5-8]: Reenable parallel building on High Sierra
Disable parallel building only for the headers. That part of the build
appears to have been implemented in a buggy way that APFS exposes.

See: https://trac.macports.org/ticket/54829
See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797
2017-10-12 05:35:08 -05:00

14 lines
658 B
Diff

Work around parallel building issue on APFS
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797
--- libstdc++-v3/include/Makefile.in.orig 2017-07-25 14:05:07.000000000 -0400
+++ libstdc++-v3/include/Makefile.in 2017-09-02 12:22:08.000000000 -0400
@@ -1764,6 +1764,8 @@
@GLIBCXX_HOSTED_TRUE@install-data-local: install-headers
@GLIBCXX_HOSTED_FALSE@install-data-local: install-freestanding-headers
+.NOTPARALLEL: install-headers
+
# This is a subset of the full install-headers rule. We only need <ciso646>,
# <cstddef>, <cfloat>, <limits>, <climits>, <cstdint>, <cstdlib>, <new>,
# <typeinfo>, <exception>, <initializer_list>, <cstdalign>, <cstdarg>,