Build as PIE and with -fstack-protector
This commit is contained in:
parent
a3d82209ba
commit
fd8d7009ca
|
@ -2,8 +2,8 @@ subdirs=common
|
|||
targets=download,surfer
|
||||
#cppflags=-D EMBEDDED
|
||||
cflags_force=-W
|
||||
cflags=-Wall -g -O2 -pedantic
|
||||
ldflags=
|
||||
cflags=-Wall -g -O2 -pedantic -fPIC -fstack-protector
|
||||
ldflags=-Wl,-pie
|
||||
dist=Makefile,callbacks.h,common.h,download.h,ghtml.h,surfer.h,ghtml-gtkhtml.c,ghtml-gtkmozembed.c,ghtml-gtktextview.c,ghtml-webkit.c
|
||||
|
||||
[download]
|
||||
|
|
|
@ -2,8 +2,9 @@ targets=bookmark,helper,htmlapp
|
|||
cppflags_force=-I ../src
|
||||
#cppflags=-D EMBEDDED
|
||||
cflags_force=-W `pkg-config --cflags libDesktop`
|
||||
cflags=-Wall -g -O2 -pedantic
|
||||
ldflags=`pkg-config --libs libDesktop`
|
||||
cflags=-Wall -g -O2 -pedantic -fPIC -fstack-protector
|
||||
ldflags_force=`pkg-config --libs libDesktop`
|
||||
ldflags=-Wl,-pie
|
||||
dist=Makefile
|
||||
|
||||
[bookmark]
|
||||
|
|
Loading…
Reference in New Issue
Block a user