Skip to content

Commit

Permalink
Move +nowarn_ignore to rabbitmq-build.mk
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelklishin committed Apr 22, 2021
1 parent 4805aa4 commit bd2be3a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deps/rabbit/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ ct-slow: CT_SUITES = $(SLOW_CT_SUITES)
# Compilation.
# --------------------------------------------------------------------

RMQ_ERLC_OPTS += -I $(DEPS_DIR)/rabbit_common/include +nowarn_ignored
RMQ_ERLC_OPTS += -I $(DEPS_DIR)/rabbit_common/include

ifdef INSTRUMENT_FOR_QC
RMQ_ERLC_OPTS += -DINSTR_MOD=gm_qc
Expand Down
3 changes: 2 additions & 1 deletion deps/rabbit_common/mk/rabbitmq-build.mk
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ LAGER_EXTRA_SINKS += rabbit_log \
lager_extra_sinks = $(subst $(space),$(comma),$(LAGER_EXTRA_SINKS))

RMQ_ERLC_OPTS += +'{parse_transform,lager_transform}' \
+'{lager_extra_sinks,[$(lager_extra_sinks)]}'
+'{lager_extra_sinks,[$(lager_extra_sinks)]}' \
+nowarn_ignored

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

0 comments on commit bd2be3a

Please sign in to comment.