Compile with full ASLR, RELRO and SSP by default
This commit is contained in:
parent
0d99d93e47
commit
bde0861c4a
|
@ -2,9 +2,9 @@ targets=pdfviewer
|
|||
cppflags_force=-I $(PREFIX)/include
|
||||
#cppflags=-D EMBEDDED
|
||||
cflags_force=-W `pkg-config --cflags libDesktop poppler-glib`
|
||||
cflags=-Wall -g -O2 -pedantic -fPIC -fstack-protector
|
||||
cflags=-Wall -g -O2 -pedantic -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector-all
|
||||
ldflags_force=`pkg-config --libs libDesktop poppler-glib` -lm
|
||||
ldflags=-Wl,-pie
|
||||
ldflags=-Wl,-pie -Wl,-z,relro -Wl,-z,now
|
||||
dist=Makefile,callbacks.h,pdfviewer.h
|
||||
|
||||
[pdfviewer]
|
||||
|
|
Loading…
Reference in New Issue
Block a user