summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPieter Noordhuis <pcnoordhuis@gmail.com>2011-06-19 10:21:05 +0200
committerPieter Noordhuis <pcnoordhuis@gmail.com>2011-06-19 10:21:05 +0200
commit888b90d6ea19aede8b82db4c97a809122deceeb4 (patch)
tree84c46d5fc0a35de9664e91de66f8482991cc5b6f /Makefile
parent3331c22eb9b5dc7a00fbfaf09469f072ecb576dd (diff)
Don't pass CFLAGS when linking
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2cf9aa3..29ca7e3 100644
--- a/Makefile
+++ b/Makefile
@@ -81,7 +81,7 @@ hiredis-example-ae: example-ae.c adapters/ae.h $(STLIBNAME)
endif
hiredis-%: %.o $(STLIBNAME)
- $(CC) -o $@ $(REAL_CFLAGS) $(REAL_LDFLAGS) $< $(STLIBNAME)
+ $(CC) -o $@ $(REAL_LDFLAGS) $< $(STLIBNAME)
test: hiredis-test
./hiredis-test