Patch erlc.c to automatically pass the "-smp disable" arguments to
the Erlang runtime. This should hopefully fix the pointyhat build hangs which seem related to the Erlang SMP runtime (beam.smp).
This commit is contained in:
parent
7ce1202c21
commit
b1a3b36665
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=252413
2 changed files with 26 additions and 0 deletions
13
lang/erlang/files/patch-erts_etc_common_erlc.c
Normal file
13
lang/erlang/files/patch-erts_etc_common_erlc.c
Normal file
|
@ -0,0 +1,13 @@
|
|||
|
||||
$FreeBSD$
|
||||
|
||||
--- erts/etc/common/erlc.c.orig
|
||||
+++ erts/etc/common/erlc.c
|
||||
@@ -186,6 +186,7 @@
|
||||
*/
|
||||
|
||||
PUSH("-noinput");
|
||||
+ PUSH2("-smp", "disable");
|
||||
PUSH2("-mode", "minimal");
|
||||
PUSH2("-boot", "start_clean");
|
||||
PUSH3("-s", "erl_compile", "compile_cmdline");
|
13
lang/erlang14/files/patch-erts_etc_common_erlc.c
Normal file
13
lang/erlang14/files/patch-erts_etc_common_erlc.c
Normal file
|
@ -0,0 +1,13 @@
|
|||
|
||||
$FreeBSD$
|
||||
|
||||
--- erts/etc/common/erlc.c.orig
|
||||
+++ erts/etc/common/erlc.c
|
||||
@@ -186,6 +186,7 @@
|
||||
*/
|
||||
|
||||
PUSH("-noinput");
|
||||
+ PUSH2("-smp", "disable");
|
||||
PUSH2("-mode", "minimal");
|
||||
PUSH2("-boot", "start_clean");
|
||||
PUSH3("-s", "erl_compile", "compile_cmdline");
|
Loading…
Reference in a new issue