Skip to content

Commit

Permalink
fix erlang compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
mpapis committed Oct 10, 2012
1 parent 0d6be6c commit 72115b9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
1 change: 1 addition & 0 deletions erlang/config/defaults
Expand Up @@ -2,3 +2,4 @@ version=R14B04
base_url=http://www.erlang.org/download base_url=http://www.erlang.org/download
archive_format=tar.gz archive_format=tar.gz
# package_dependencies=ncurses openssl # package_dependencies=ncurses openssl
make_flags=-j 1
15 changes: 5 additions & 10 deletions erlang/shell/functions
Expand Up @@ -7,19 +7,14 @@ erlang_initialize()
dir "otp_src_${package_version}" dir "otp_src_${package_version}"


configure_flags+=( configure_flags+=(
--enable-hipe --enable-hipe
--enable-smp-support --enable-smp-support
--enable-threads --enable-threads
--enable-kernel-poll --enable-kernel-poll
) )


if os is darwin if os is darwin
then then configure_flags+=("--enable-darwin-64bit")
configure_flags+=("--enable-darwin-64bit")
fi 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.