forked from duwei/erlualib
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrebar.config
25 lines (24 loc) · 867 Bytes
/
rebar.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{port_env, [
% {"linux", "CFLAGS",
% "$CFLAGS -g -O3 -Wall -I/usr/local/include/luajit-2.0/"},
% {"linux", "LDFLAGS",
% "$LDFLAGS -L/usr/local/lib -lluajit-5.1 -lcjson -lsqlite3"},
% {"macosx", "CFLAGS",
% "$CFLAGS -g -O3 -Wall -I/usr/local/include/luajit-2.0/"},
% {"macosx", "LDFLAGS",
% "$LDFLAGS -L/usr/local/lib -lluajit-5.1 -lcjson -lsqlite3"}
{"CFLAGS",
"$CFLAGS -std=c99 -g -O3 -Wall -I/usr/local/include/luajit-2.0/"},
{"LDFLAGS",
"$LDFLAGS -L/usr/local/lib -lluajit-5.1 -lsqlite3"}
]
}.
{port_specs, [{"priv/liberlua.so", ["c_src/*.c"]}]}.
{cover_enabled, true}.
{cover_print_enabled, true}.
{xref_warnings, false}.
{xref_checks, [
locals_not_used, undefined_function_calls, undefined_functions,
{deprecated_function_calls, eventually},
{deprecated_functions, eventually}
]}.