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:
Jimmy Olgeni 2010-04-07 22:04:49 +00:00
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

View 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");

View 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");