Build as PIE and with -fstack-protector

This commit is contained in:
Pierre Pronchery 2015-07-12 22:18:59 +02:00
parent eb89974776
commit ab7616635d

View File

@ -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]