diff options
| author | Alexandru Scvortov <alexandru@rabbitmq.com> | 2011-02-14 10:40:16 +0000 |
|---|---|---|
| committer | Alexandru Scvortov <alexandru@rabbitmq.com> | 2011-02-14 10:40:16 +0000 |
| commit | 3e35ec6789c438cd8b3b1604b18b41e2ff816c2d (patch) | |
| tree | 7a422fb39375dddf27ecfc58ed2e853f13c3e865 /Makefile | |
| parent | cda4623efe42ba493522f4f6476aefd9f5cdad3d (diff) | |
| parent | 18e02d755fa9d0d5279b76fcfbedc40bb06cc036 (diff) | |
| download | rabbitmq-server-git-3e35ec6789c438cd8b3b1604b18b41e2ff816c2d.tar.gz | |
merge bug23765 into default (current sync interval in queue_process and msg_store causes poor confirms performance)
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -41,14 +41,12 @@ RABBIT_PLT=rabbit.plt ifndef USE_SPECS # our type specs rely on features and bug fixes in dialyzer that are -# only available in R14A upwards (R13B04 is erts 5.7.5) -# -# NB: the test assumes that version number will only contain single digits -USE_SPECS=$(shell if [ $$(erl -noshell -eval 'io:format(erlang:system_info(version)), halt().') \> "5.7.5" ]; then echo "true"; else echo "false"; fi) +# only available in R14A upwards (R14A is erts 5.8) +USE_SPECS:=$(shell erl -noshell -eval 'io:format([list_to_integer(X) || X <- string:tokens(erlang:system_info(version), ".")] >= [5,8]), halt().') endif #other args: +native +"{hipe,[o3,verbose]}" -Ddebug=true +debug_info +no_strict_record_tests -ERLC_OPTS=-I $(INCLUDE_DIR) -o $(EBIN_DIR) -Wall -v +debug_info $(shell [ $(USE_SPECS) = "true" ] && echo "-Duse_specs") +ERLC_OPTS=-I $(INCLUDE_DIR) -o $(EBIN_DIR) -Wall -v +debug_info $(if $(filter true,$(USE_SPECS)),-Duse_specs) VERSION=0.0.0 TARBALL_NAME=rabbitmq-server-$(VERSION) |
