Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion deps/rabbit/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,9 @@ RMQ_ERLC_OPTS += -DTRACE_SUPERVISOR2=true
endif

# https://www.erlang.org/doc/apps/parsetools/leex.html#file/2
YRL_ERLC_OPTS ?= +deterministic
ifndef NON_DETERMINISTIC
YRL_ERLC_OPTS += +deterministic
endif

# --------------------------------------------------------------------
# Documentation.
Expand Down
4 changes: 3 additions & 1 deletion deps/rabbit_common/mk/rabbitmq-build.mk
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ ifneq ($(filter rabbitmq_cli,$(BUILD_DEPS) $(DEPS)),)
RMQ_ERLC_OPTS += -pa $(DEPS_DIR)/rabbitmq_cli/ebin
endif

RMQ_ERLC_OPTS ?= +deterministic
ifndef NON_DETERMINISTIC
RMQ_ERLC_OPTS += +deterministic
endif

# Push our compilation options to both the normal and test ERLC_OPTS.
ERLC_OPTS += $(RMQ_ERLC_OPTS)
Expand Down
Loading