Don't pass CFLAGS when linking

This commit is contained in:
Pieter Noordhuis 2011-06-19 10:21:05 +02:00
parent 3331c22eb9
commit 888b90d6ea

View File

@ -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