Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
20 lines (15 sloc) 0.804 kB
%% -*- erlang -*-
{erl_opts, [{platform_define, "R1[0-5]", 'USE_CRYPTO_SHA_MAC'}]}.
{port_specs, [{"priv/erlsha2_nif.so", ["c_src/erlsha2_nif.c"]},
{"priv/hmac_nif.so", ["c_src/hmac_nif.c"]}]}.
{port_env, [{"DRV_CFLAGS", "$DRV_CFLAGS -O3 -I."},
{"(?<!-arm|-armv7l)-[^-]+-linux.*-32$", "CFLAGS", "-m32"},
{"(?<!-arm|-armv7l)-[^-]+-linux.*-32$", "LDFLAGS", "-m32"},
{"(?<!-arm|-armv7l)-[^-]+-linux.*-64$", "CFLAGS", "-m64"},
{"(?<!-arm|-armv7l)-[^-]+-linux.*-64$", "LDFLAGS", "-m64"}]}.
{pre_hooks, [{compile, "c_src/config.sh c_src/config.h"},
{clean, "rm -f c_src/config.h"}]}.
{edoc_opts, [{doclet, edown_doclet},
{pretty_printer, erl_pp},
{src_path, ["src/"]},
{subpackages, true}]}.
Jump to Line
Something went wrong with that request. Please try again.