Build with the default stack protector

This commit is contained in:
Pierre Pronchery 2017-11-05 18:00:43 +01:00
parent b64dfc4b94
commit 0cdb8bee22
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
targets=camera
cflags_force=`pkg-config --cflags libDesktop`
cflags=-W -Wall -g -O2 -pedantic -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector-all
cflags=-W -Wall -g -O2 -pedantic -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector
ldflags_force=`pkg-config --libs libDesktop` -lintl
ldflags=-pie -Wl,-z,relro -Wl,-z,now
dist=Makefile,camera.h,overlay.h,window.h

View File

@ -1,6 +1,6 @@
targets=camera
cflags_force=`pkg-config --cflags libDesktop` -fPIC
cflags=-W -Wall -g -O2 -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all
cflags=-W -Wall -g -O2 -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector
ldflags_force=`pkg-config --libs libDesktop` -lintl
ldflags=-Wl,-z,relro -Wl,-z,now
#for Gtk+ 3

View File

@ -1,6 +1,6 @@
targets=gallery
cflags_force=`pkg-config --cflags gtk+-2.0`
cflags=-W -Wall -g -O2 -pedantic -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector-all
cflags=-W -Wall -g -O2 -pedantic -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector
ldflags_force=`pkg-config --libs glib-2.0`
ldflags=-pie -Wl,-z,relro -Wl,-z,now
dist=Makefile