Build as PIE and with -fstack-protector
This commit is contained in:
parent
eb89974776
commit
ab7616635d
|
@ -1,9 +1,9 @@
|
||||||
targets=xmleditor
|
targets=xmleditor
|
||||||
#cppflags=-D EMBEDDED
|
#cppflags=-D EMBEDDED
|
||||||
cflags_force=-W `pkg-config --cflags libParser libDesktop`
|
cflags_force=-W `pkg-config --cflags libParser libDesktop`
|
||||||
cflags=-Wall -g -O2 -pedantic
|
cflags=-Wall -g -O2 -pedantic -fPIC -fstack-protector
|
||||||
ldflags_force=`pkg-config --libs libParser libDesktop` -lintl
|
ldflags_force=`pkg-config --libs libParser libDesktop` -lintl
|
||||||
ldflags=
|
ldflags=-Wl,-pie
|
||||||
dist=Makefile,callbacks.h,xmleditor.h
|
dist=Makefile,callbacks.h,xmleditor.h
|
||||||
|
|
||||||
[xmleditor]
|
[xmleditor]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user