Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: cd531f8fe2
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (16 sloc) 0.747 kb
{port_sources, ["c_src/*.c"]}.
{so_name, "skerl_nifs.so"}.
{erl_opts, [warnings_as_errors]}.
{port_envs, [
%% Make sure to link -lstdc++ on linux or solaris
{"(linux|solaris)", "LDFLAGS", "$LDFLAGS -lstdc++"},
%% OS X Leopard flags for 64-bit
{"darwin9.*-64$", "CXXFLAGS", "-m64"},
{"darwin9.*-64$", "LDFLAGS", "-arch x86_64 -lstdc++"},
%% OS X Snow Leopard flags for 32-bit
{"darwin10.*-32$", "CXXFLAGS", "-m32"},
{"darwin10.*-32$", "LDFLAGS", "-arch i386"},
%% OS X Snow Leopard flags for 64-bit
{"darwin10.*-64$", "CXXFLAGS", "-m64"},
{"darwin10.*-64$", "LDFLAGS", "-arch x86_64"}
]}.
Jump to Line
Something went wrong with that request. Please try again.