diff --git a/Makefile b/Makefile index a6ac70a..a2e896d 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,8 @@ LIBS = -L $(WINDIVERTLIBS) -lWinDivert -lws2_32 CC = $(CPREFIX)-gcc CCWINDRES = $(CPREFIX)-windres CFLAGS = -Wall -I $(WINDIVERTHEADERS) -L $(WINDIVERTLIBS) \ - -O2 -fPIE -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 + -O2 -pie -fPIE -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 +LDFLAGS = -pie .PHONY: default all clean