make sure polipo is really cleaned; add only PIE flags for polipo

This commit is contained in:
Nathan Freitas 2014-11-17 14:11:17 -05:00
parent 4df4586476
commit 16d87310a3
1 changed files with 2 additions and 1 deletions

3
external/Makefile vendored
View File

@ -281,7 +281,7 @@ obfsclient-clean:
# polipo
polipo-build-stamp:
CC="$(CC)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" $(MAKE) -C polipo
CC="$(CC)" CFLAGS="$(PIEFLAGS)" LDFLAGS="$(PIEFLAGS)" $(MAKE) -C polipo
touch polipo-build-stamp
polipo: polipo-build-stamp
@ -289,6 +289,7 @@ polipo: polipo-build-stamp
cp polipo/polipo bin
polipo-clean:
-rm -f polipo/polipo
-rm -f bin/polipo
-rm -f polipo-build-stamp