Skip to content
Browse files

Work with make v3.80

  • Loading branch information...
1 parent 25a585a commit b13216a8c7fcac5896456373622a8a102d8dd3b9 @pietern pietern committed Jun 13, 2011
Showing with 4 additions and 1 deletion.
  1. +4 −1 deps/hiredis/Makefile
View
5 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

0 comments on commit b13216a

Please sign in to comment.
Something went wrong with that request. Please try again.