summaryrefslogtreecommitdiff
path: root/rebar.config
diff options
context:
space:
mode:
authorPaweł Chmielowski <pchmielowski@process-one.net>2016-03-04 11:32:23 +0100
committerPaweł Chmielowski <pchmielowski@process-one.net>2016-03-04 11:32:34 +0100
commit304afd75acd9b83e8604f25060115aeb5c4efb23 (patch)
treee78c1df9fb4bcfdb37666cf09e70354d09ac273b /rebar.config
parentMark get_queue_length obsolete, and use count_offline_messages (#970) (diff)
Compile ejabberd_config early to stop undefined behaviour warnings
Diffstat (limited to 'rebar.config')
-rw-r--r--rebar.config2
1 files changed, 2 insertions, 0 deletions
diff --git a/rebar.config b/rebar.config
index 131e3583..865517c9 100644
--- a/rebar.config
+++ b/rebar.config
@@ -63,6 +63,8 @@
ezlib,
iconv]}}.
+{erl_first_files, ["src/ejabberd_config.erl"]}.
+
{erl_opts, [nowarn_deprecated_function,
{if_var_false, debug, no_debug_info},
{if_var_true, roster_gateway_workaround, {d, 'ROSTER_GATWAY_WORKAROUND'}},