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 | e348eb299bb90565187bb7e796b2d0cae06d1ffe (patch) | |
| tree | 98d89e73ff8ccbce872e2b983a8375e10f4e1193 /Makefile | |
| parent | 5a149c9047487e6daef073c661d5951569b81a0a (diff) | |
| download | rabbitmq-server-git-e348eb299bb90565187bb7e796b2d0cae06d1ffe.tar.gz | |
Use a list comprehension to match rest of codebase and save a bunch of characters
Diffstat (limited to 'Makefile')
| -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 + |
