summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMichael Klishin <mklishin@pivotal.io>2015-05-02 13:20:07 +0300
committerMichael Klishin <mklishin@pivotal.io>2015-05-02 13:20:07 +0300
commitc29e7c331c05940b7264b1131c1d31d04916aee6 (patch)
treeeb52e1028113522f1250ab09dcc211ff55e1a23b /Makefile
parentabc354dc34f302637098cbe94340911ae4b95ffc (diff)
downloadrabbitmq-server-git-c29e7c331c05940b7264b1131c1d31d04916aee6.tar.gz
Make it possible to publish credit_flow events to rabbit_event
This is not intended to be used by end users, at least not yet, so this is an opt-in compilation flag. To enable: make CREDIT_FLOW_TRACING=true
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 50c6c76bd8..41f250d160 100644
--- a/Makefile
+++ b/Makefile
@@ -65,6 +65,10 @@ else
ERLC_OPTS += -DINSTR_MOD=gm
endif
+ifdef CREDIT_FLOW_TRACING
+ERLC_OPTS += -DCREDIT_FLOW_TRACING=true
+endif
+
include version.mk
PLUGINS_SRC_DIR?=$(shell [ -d "plugins-src" ] && echo "plugins-src" || echo )