12 lines
323 B
Diff
12 lines
323 B
Diff
|
--- Makefile
|
||
|
+++ Makefile
|
||
|
@@ -208,7 +208,7 @@
|
||
|
endif
|
||
|
|
||
|
hiredis-test: test.o $(TEST_LIBS)
|
||
|
- $(CC) -o $@ $(REAL_CFLAGS) -I. $^ $(REAL_LDFLAGS) $(TEST_LDFLAGS)
|
||
|
+ $(CC) -o $@ $(REAL_CFLAGS) -pie -I. $^ $(REAL_LDFLAGS) $(TEST_LDFLAGS)
|
||
|
|
||
|
hiredis-%: %.o $(STLIBNAME)
|
||
|
$(CC) $(REAL_CFLAGS) -o $@ $< $(TEST_LIBS) $(REAL_LDFLAGS)
|