]> git.saurik.com Git - redis.git/commitdiff
Don't set flags recursively
authorPieter Noordhuis <pcnoordhuis@gmail.com>
Sat, 14 Apr 2012 00:46:28 +0000 (17:46 -0700)
committerPieter Noordhuis <pcnoordhuis@gmail.com>
Sat, 14 Apr 2012 01:05:51 +0000 (18:05 -0700)
src/Makefile

index bc3c97db83bf71860ba198c5f6b0ecae7015a7bf..38a680646ca274a62533c13804d3f111c15e0c66 100644 (file)
@@ -199,7 +199,7 @@ bench: $(REDIS_BENCHMARK_NAME)
        @echo ""
        @echo "WARNING: if it fails under Linux you probably need to install libc6-dev-i386"
        @echo ""
        @echo ""
        @echo "WARNING: if it fails under Linux you probably need to install libc6-dev-i386"
        @echo ""
-       $(MAKE) CFLAGS="$(CFLAGS) -m32" LDFLAGS="$(LDFLAGS) -m32"
+       $(MAKE) CFLAGS="-m32" LDFLAGS="-m32"
 
 gcov:
        $(MAKE) REDIS_CFLAGS="-fprofile-arcs -ftest-coverage -DCOVERAGE_TEST" REDIS_LDFLAGS="-fprofile-arcs -ftest-coverage"
 
 gcov:
        $(MAKE) REDIS_CFLAGS="-fprofile-arcs -ftest-coverage -DCOVERAGE_TEST" REDIS_LDFLAGS="-fprofile-arcs -ftest-coverage"