Stick to the default stack protector

This commit is contained in:
Pierre Pronchery 2017-07-26 15:48:44 +02:00
parent 1e6753b513
commit 9a6e01c582

View File

@ -1,8 +1,7 @@
targets=pdfviewer
cppflags_force=-I $(PREFIX)/include
#cppflags=-D EMBEDDED
cflags_force=-W `pkg-config --cflags libDesktop poppler-glib`
cflags=-Wall -g -O2 -pedantic -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector-all
cflags_force=`pkg-config --cflags libDesktop poppler-glib`
cflags=-W -Wall -g -O2 -pedantic -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector
ldflags_force=`pkg-config --libs libDesktop poppler-glib` -lm
ldflags=-pie -Wl,-z,relro -Wl,-z,now
dist=Makefile,callbacks.h,pdfviewer.h