Build without -pedantic
This commit is contained in:
parent
add5f385fc
commit
0e6ce81f90
|
@ -1,16 +1,18 @@
|
|||
targets=todo
|
||||
#cppflags=-D EMBEDDED
|
||||
cflags_force=`pkg-config --cflags libDesktop`
|
||||
cflags=-W -Wall -g -O2 -pedantic -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector
|
||||
cflags=-W -Wall -g -O2 -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector
|
||||
ldflags_force=`pkg-config --libs libDesktop` -lintl
|
||||
ldflags=-pie -Wl,-z,relro -Wl,-z,now
|
||||
dist=Makefile,priority.h,task.h,taskedit.h,todo.h,window.h
|
||||
|
||||
#targets
|
||||
[todo]
|
||||
type=binary
|
||||
sources=priority.c,task.c,taskedit.c,todo.c,window.c,main.c
|
||||
install=$(BINDIR)
|
||||
|
||||
#sources
|
||||
[main.c]
|
||||
depends=task.h,todo.h,../config.h
|
||||
|
||||
|
|
|
@ -1,14 +1,16 @@
|
|||
targets=todo
|
||||
cflags_force=`pkg-config --cflags libDesktop Mailer` -fPIC
|
||||
cflags=-W -Wall -g -O2 -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector
|
||||
cflags=-W -Wall -g -O2 -D_FORTIFY_SOURCE=2 -fstack-protector
|
||||
ldflags_force=`pkg-config --libs libDesktop`
|
||||
ldflags=-Wl,-z,relro -Wl,-z,now
|
||||
dist=Makefile,subst.sh
|
||||
|
||||
#targets
|
||||
[todo]
|
||||
type=plugin
|
||||
sources=todo.c
|
||||
install=$(LIBDIR)/Mailer/plugins
|
||||
|
||||
#sources
|
||||
[todo.c]
|
||||
depends=../src/priority.c,../src/task.c,../src/taskedit.c,../src/todo.c
|
||||
|
|
Loading…
Reference in New Issue
Block a user