diff --git a/tools/project.conf b/tools/project.conf index 0156529..85775a6 100644 --- a/tools/project.conf +++ b/tools/project.conf @@ -1,8 +1,15 @@ targets=ldd -cflags_force=-W -cflags=-Wall -g -O2 -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector +cppflags_force= +cflags_force=-g +cflags=-W -Wall -O2 -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector ldflags=-Wl,-z,relro -Wl,-z,now dist=Makefile,elf.c +mode=debug + +#modes +[mode::release] +cppflags_force=-DNDEBUG +cflags_force= #targets [ldd]