Move redirection around

This commit is contained in:
Pieter Noordhuis 2011-06-18 16:46:18 +02:00
parent 722c142801
commit 7a9127c938

View File

@ -11,7 +11,7 @@ HIREDIS_MAJOR=0
HIREDIS_MINOR=10 HIREDIS_MINOR=10
# Fallback to gcc when $CC is not in $PATH. # 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 OPTIMIZATION?=-O3
CFLAGS=$(OPTIMIZATION) -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings $(ARCH) $(PROF) CFLAGS=$(OPTIMIZATION) -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings $(ARCH) $(PROF)
LDFLAGS= LDFLAGS=