diff options
author | Pieter Noordhuis <pcnoordhuis@gmail.com> | 2011-06-18 16:46:18 +0200 |
---|---|---|
committer | Pieter Noordhuis <pcnoordhuis@gmail.com> | 2011-06-18 16:46:18 +0200 |
commit | 7a9127c938f37a5f76506927038fb347bb608420 (patch) | |
tree | 762cab0af20d0c2380955c35e31278dc61accecb /Makefile | |
parent | 722c142801db995e682f6b60c3f83c18f03de82f (diff) |
Move redirection around
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -11,7 +11,7 @@ HIREDIS_MAJOR=0 HIREDIS_MINOR=10 # Fallback to gcc when $CC is not in $PATH. -CC:=$(shell sh -c 'type $(CC) 2>/dev/null 1>/dev/null && echo $(CC) || echo gcc') +CC:=$(shell sh -c 'type $(CC) >/dev/null 2>/dev/null && echo $(CC) || echo gcc') OPTIMIZATION?=-O3 CFLAGS=$(OPTIMIZATION) -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings $(ARCH) $(PROF) LDFLAGS= |