aboutsummaryrefslogtreecommitdiffstats
path: root/erts/start_scripts/Makefile
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-09-13 05:13:11 +0200
committerBjörn Gustavsson <[email protected]>2016-09-13 05:23:40 +0200
commitde8fe86f67591dd992bae33f7451523dab36e5bd (patch)
tree0d7e5bf032be191027a1465ef40b58363819fb80 /erts/start_scripts/Makefile
parent86d1fb0865193cce4e308baa6472885a81033f10 (diff)
downloadotp-de8fe86f67591dd992bae33f7451523dab36e5bd.tar.gz
otp-de8fe86f67591dd992bae33f7451523dab36e5bd.tar.bz2
otp-de8fe86f67591dd992bae33f7451523dab36e5bd.zip
Turn off parallel make for start scripts Makefile
At least on macOS (OS X), /usr/bin/install does not seem to be thread-safe when creating directories. That is, if several invocations of /usr/bin/install attempts to create the same directory, one or more of the invocations may fail with an error, causing the build to fail. Avoid the problem by turning off parallel make for the Makefile in erts/start_scripts. Reported-by: https://bugs.erlang.org/browse/ERL-250
Diffstat (limited to 'erts/start_scripts/Makefile')
-rw-r--r--erts/start_scripts/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/erts/start_scripts/Makefile b/erts/start_scripts/Makefile
index dd7e2ea530..ae2521474e 100644
--- a/erts/start_scripts/Makefile
+++ b/erts/start_scripts/Makefile
@@ -17,6 +17,9 @@
#
# %CopyrightEnd%
#
+
+.NOTPARALLEL:
+
include $(ERL_TOP)/make/target.mk
include $(ERL_TOP)/make/$(TARGET)/otp.mk