blob: 0bf93a8d1e61a09195f131c452190058e592387c [file] [log] [blame]
% vim: set ft=erlang : -*- erlang -*- % Magic lines for code editors
{port_specs, [
{"priv/khash.so", ["c_src/*.c"]}
]}.
{port_env, [
% Development compilation
% {".*", "CFLAGS", "$CFLAGS -g -Wall -Werror -fPIC"}
% Production compilation
{"(linux|solaris|darwin|freebsd)", "CFLAGS", "$CFLAGS -Wall -Werror -DNDEBUG -O3"},
{"win32", "CFLAGS", "$CFLAGS /O2 /DNDEBUG /Wall"}
]}.