diff options
author | Pieter Noordhuis <pcnoordhuis@gmail.com> | 2011-06-18 17:18:08 +0200 |
---|---|---|
committer | Pieter Noordhuis <pcnoordhuis@gmail.com> | 2011-06-18 17:18:10 +0200 |
commit | b8e0edaabb6c04ec955f6ad6a9e11aca3c78196d (patch) | |
tree | ad0c89ebf8e5c8fb89b39ebc72b65068c6aa9df4 | |
parent | 0c2de2525e8321fe93f2b1dcca481615011c3604 (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-- | Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 |