Build with -fstack-protector and as PIE
This commit is contained in:
parent
866f6c9ac7
commit
f1959b21f6
|
@ -1,10 +1,11 @@
|
|||
targets=camera
|
||||
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` -lintl
|
||||
#for Gtk+ 3
|
||||
#cflags_force=-W `pkg-config --cflags libDesktop gtk+-x11-3.0`
|
||||
#ldflags_force=`pkg-config --libs libDesktop gtk+-x11-3.0` -lintl
|
||||
ldflags=-Wl,-pie
|
||||
dist=Makefile,camera.h,overlay.h,window.h
|
||||
|
||||
[camera]
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
targets=gallery
|
||||
cflags_force=-W `pkg-config --cflags gtk+-2.0`
|
||||
cflags=-Wall -g -O2
|
||||
ldflags=`pkg-config --libs glib-2.0`
|
||||
cflags=-Wall -g -O2 -pedantic -fPIC -fstack-protector
|
||||
ldflags_force=`pkg-config --libs glib-2.0`
|
||||
#for Gtk+ 3
|
||||
#cflags_force=-W `pkg-config --cflags gtk+-3.0`
|
||||
#ldflags=`pkg-config --libs glib-3.0`
|
||||
ldflags=-Wl,-pie
|
||||
dist=Makefile
|
||||
|
||||
[gallery]
|
||||
|
|
Loading…
Reference in New Issue
Block a user