Don't pass CFLAGS when linking
This commit is contained in:
parent
3331c22eb9
commit
888b90d6ea
2
Makefile
2
Makefile
@ -81,7 +81,7 @@ hiredis-example-ae: example-ae.c adapters/ae.h $(STLIBNAME)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
hiredis-%: %.o $(STLIBNAME)
|
hiredis-%: %.o $(STLIBNAME)
|
||||||
$(CC) -o $@ $(REAL_CFLAGS) $(REAL_LDFLAGS) $< $(STLIBNAME)
|
$(CC) -o $@ $(REAL_LDFLAGS) $< $(STLIBNAME)
|
||||||
|
|
||||||
test: hiredis-test
|
test: hiredis-test
|
||||||
./hiredis-test
|
./hiredis-test
|
||||||
|
Loading…
Reference in New Issue
Block a user