Permalink
Browse files

fix erlang compilation

  • Loading branch information...
1 parent 0d6be6c commit 72115b97cc23ece3897f8db202cb0b015d4e9dc8 @mpapis mpapis committed Oct 10, 2012
Showing with 6 additions and 10 deletions.
  1. +1 −0 erlang/config/defaults
  2. +5 −10 erlang/shell/functions
View
1 erlang/config/defaults
@@ -2,3 +2,4 @@ version=R14B04
base_url=http://www.erlang.org/download
archive_format=tar.gz
# package_dependencies=ncurses openssl
+make_flags=-j 1
View
15 erlang/shell/functions
@@ -7,19 +7,14 @@ erlang_initialize()
dir "otp_src_${package_version}"
configure_flags+=(
- --enable-hipe
- --enable-smp-support
- --enable-threads
- --enable-kernel-poll
+ --enable-hipe
+ --enable-smp-support
+ --enable-threads
+ --enable-kernel-poll
)
if os is darwin
- then
- configure_flags+=("--enable-darwin-64bit")
+ then configure_flags+=("--enable-darwin-64bit")
fi
-
- # It is important to build single threaded,
- # which is very amusing given it is for Erlang...
- make_flags="-j1"
}

0 comments on commit 72115b9

Please sign in to comment.