diff options
author | Matthew Sackman <matthew@rabbitmq.com> | 2011-02-04 14:39:04 +0000 |
---|---|---|
committer | Matthew Sackman <matthew@rabbitmq.com> | 2011-02-04 14:39:04 +0000 |
commit | 4e163b67e7cab07cc33efe6883eb0958db229d10 (patch) | |
tree | 98d89e73ff8ccbce872e2b983a8375e10f4e1193 | |
parent | a233815a5c71a6da5453988ac9267b5befaec96b (diff) | |
download | rabbitmq-server-4e163b67e7cab07cc33efe6883eb0958db229d10.tar.gz |
Use a list comprehension to match rest of codebase and save a bunch of characters
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -42,7 +42,7 @@ 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) -USE_SPECS:=$(shell erl -noshell -eval 'io:format(lists:map(fun erlang:list_to_integer/1, string:tokens(erlang:system_info(version), ".")) >= [5,8]),halt().') +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 @@ -312,3 +312,4 @@ endif ifneq "$(strip $(patsubst clean%,,$(patsubst %clean,,$(TESTABLEGOALS))))" "" -include $(DEPS_FILE) endif + |