Compile with full SSP, RELRO and ASLR support by default
This commit is contained in:
parent
f9576b0f88
commit
01b794abfa
|
@ -1,9 +1,9 @@
|
|||
targets=vncviewer
|
||||
#cppflags=-DWITH_LIBVIEW
|
||||
cflags_force=-W `pkg-config --cflags gtk-vnc-1.0`
|
||||
cflags=-Wall -g -O2 -pedantic -fPIC -fstack-protector
|
||||
cflags=-W -Wall -g -O2 -pedantic -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector-all
|
||||
ldflags_force=`pkg-config --libs gtk-vnc-1.0`
|
||||
ldflags=-Wl,-pie
|
||||
ldflags=-Wl,-pie -Wl,-z,relro -Wl,-z,now
|
||||
dist=Makefile,vncviewer.h
|
||||
|
||||
[vncviewer]
|
||||
|
|
Loading…
Reference in New Issue
Block a user