From b8e0edaabb6c04ec955f6ad6a9e11aca3c78196d Mon Sep 17 00:00:00 2001 From: Pieter Noordhuis Date: Sat, 18 Jun 2011 17:18:08 +0200 Subject: Remove unused variables The variable OBJARCH was used to compile objects for both 32-bit and 64-bit architectures. It can be removed because this is only relevant for the Ruby wrapper for hiredis. This wrapper should put these flags in CFLAGS to get the same effect. --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index ba59ffb..adaa67c 100644 --- a/Makefile +++ b/Makefile @@ -35,7 +35,6 @@ ifeq ($(uname_S),SunOS) INSTALL= cp -r endif ifeq ($(uname_S),Darwin) - OBJARCH?=-arch i386 -arch x86_64 DYLIBSUFFIX=dylib STLIBSUFFIX=a DYLIB_MINOR_NAME=$(LIBNAME).$(HIREDIS_MAJOR).$(HIREDIS_MINOR).$(DYLIBSUFFIX) @@ -100,7 +99,7 @@ check: hiredis-test kill `cat /tmp/hiredis-test-redis.pid` .c.o: - $(CC) -std=c99 -pedantic -c $(REAL_CFLAGS) $(OBJARCH) $(COMPILE_TIME) $< + $(CC) -std=c99 -pedantic -c $(REAL_CFLAGS) $< clean: rm -rf $(DYLIBNAME) $(STLIBNAME) $(BINS) hiredis-example* *.o *.gcda *.gcno *.gcov -- cgit v1.2.3