From b13216a8c7fcac5896456373622a8a102d8dd3b9 Mon Sep 17 00:00:00 2001 From: Pieter Noordhuis Date: Mon, 13 Jun 2011 09:42:03 +0200 Subject: [PATCH] Work with make v3.80 --- deps/hiredis/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/deps/hiredis/Makefile b/deps/hiredis/Makefile index ca3404a42..b186e7510 100644 --- a/deps/hiredis/Makefile +++ b/deps/hiredis/Makefile @@ -15,7 +15,8 @@ ifeq ($(uname_S),SunOS) DYLIB_MAKE_CMD?=$(CC) -G -o ${DYLIBNAME} ${OBJ} STLIBNAME?=libhiredis.a STLIB_MAKE_CMD?=ar rcs ${STLIBNAME} ${OBJ} -else ifeq ($(uname_S),Darwin) +else +ifeq ($(uname_S),Darwin) CFLAGS?=-std=c99 -pedantic $(OPTIMIZATION) -fPIC -Wall -W -Wwrite-strings $(ARCH) $(PROF) CCLINK?=-lm -pthread LDFLAGS?=-L. -Wl,-rpath,. @@ -33,6 +34,8 @@ else STLIBNAME?=libhiredis.a STLIB_MAKE_CMD?=ar rcs ${STLIBNAME} ${OBJ} endif +endif + CCOPT= $(CFLAGS) $(CCLINK) DEBUG?= -g -ggdb -- GitLab