Use the default stack protector
This commit is contained in:
parent
eeeba60a30
commit
91deb97292
|
@ -1,16 +1,18 @@
|
||||||
targets=notes
|
targets=notes
|
||||||
#cppflags=-D EMBEDDED
|
#cppflags=-D EMBEDDED
|
||||||
cflags_force=`pkg-config --cflags libDesktop`
|
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 -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector
|
||||||
ldflags_force=`pkg-config --libs libDesktop` -lintl
|
ldflags_force=`pkg-config --libs libDesktop` -lintl
|
||||||
ldflags=-pie -Wl,-z,relro -Wl,-z,now
|
ldflags=-pie -Wl,-z,relro -Wl,-z,now
|
||||||
dist=Makefile,note.h,noteedit.h,notes.h,window.h
|
dist=Makefile,note.h,noteedit.h,notes.h,window.h
|
||||||
|
|
||||||
|
#targets
|
||||||
[notes]
|
[notes]
|
||||||
type=binary
|
type=binary
|
||||||
sources=note.c,noteedit.c,notes.c,window.c,main.c
|
sources=note.c,noteedit.c,notes.c,window.c,main.c
|
||||||
install=$(BINDIR)
|
install=$(BINDIR)
|
||||||
|
|
||||||
|
#sources
|
||||||
[main.c]
|
[main.c]
|
||||||
depends=note.h,notes.h,../config.h
|
depends=note.h,notes.h,../config.h
|
||||||
|
|
||||||
|
|
|
@ -1,13 +1,16 @@
|
||||||
targets=notes
|
targets=notes
|
||||||
cflags_force=`pkg-config --cflags libDesktop Mailer` -fPIC
|
cflags_force=`pkg-config --cflags libDesktop Mailer` -fPIC
|
||||||
cflags=-W -Wall -g -O2 -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all
|
cflags=-W -Wall -g -O2 -D_FORTIFY_SOURCE=2 -fstack-protector
|
||||||
ldflags_force=`pkg-config --libs libDesktop`
|
ldflags_force=`pkg-config --libs libDesktop`
|
||||||
|
ldflags=-Wl,-z,relro -Wl,-z,now
|
||||||
dist=Makefile
|
dist=Makefile
|
||||||
|
|
||||||
|
#targets
|
||||||
[notes]
|
[notes]
|
||||||
type=plugin
|
type=plugin
|
||||||
sources=notes.c
|
sources=notes.c
|
||||||
install=$(LIBDIR)/Mailer/plugins
|
install=$(LIBDIR)/Mailer/plugins
|
||||||
|
|
||||||
|
#sources
|
||||||
[notes.c]
|
[notes.c]
|
||||||
depends=../src/note.c,../src/noteedit.c,../src/notes.c
|
depends=../src/note.c,../src/noteedit.c,../src/notes.c
|
||||||
|
|
Loading…
Reference in New Issue
Block a user