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