Build with FORTIFY by default

This commit is contained in:
Pierre Pronchery 2020-02-03 06:49:40 +01:00
parent de7d8acdf5
commit c3731e06ee

View File

@ -1,5 +1,5 @@
targets=clock
cflags=-Wall -g -O2 -pedantic -fstack-protector -fPIE
cflags=-W -Wall -g -O2 -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector
ldflags=-pie -Wl,-z,relro -Wl,-z,now
#for Gtk+ 2
#cflags_force=-W `pkg-config --cflags libSystem gtk+-2.0`