summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPieter Noordhuis <pcnoordhuis@gmail.com>2011-06-18 17:18:08 +0200
committerPieter Noordhuis <pcnoordhuis@gmail.com>2011-06-18 17:18:10 +0200
commitb8e0edaabb6c04ec955f6ad6a9e11aca3c78196d (patch)
treead0c89ebf8e5c8fb89b39ebc72b65068c6aa9df4
parent0c2de2525e8321fe93f2b1dcca481615011c3604 (diff)
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.
-rw-r--r--Makefile3
1 files changed, 1 insertions, 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