diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-12-02 15:00:55 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-12-02 15:00:55 +0100 |
commit | 8d8f909896caba6c612d636da12637a4b846ed88 (patch) | |
tree | 063d7f298c707d5fb5e7b353c5ad9f8dbc67b25f /Makefile | |
parent | add missing include (diff) | |
download | read-quickly-8d8f909896caba6c612d636da12637a4b846ed88.tar.gz read-quickly-8d8f909896caba6c612d636da12637a4b846ed88.tar.bz2 read-quickly-8d8f909896caba6c612d636da12637a4b846ed88.tar.xz |
use better compiler flags for development
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | Makefile | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -17,8 +17,18 @@ LICENSEDIR = $(DATADIR)/licenses PKGNAME = rq COMMAND = rq -OPTIMISE = -O2 -WARN = -Wall -Wextra -pedantic +#OPTIMISE = -O2 +#WARN = -Wall -Wextra -pedantic +OPTIMISE = -Og -g +WARN = -Wall -Wextra -Wdouble-promotion -Wformat=2 -Winit-self -Wmissing-include-dirs \ + -Wtrampolines -Wfloat-equal -Wshadow -Wmissing-prototypes -Wmissing-declarations \ + -Wredundant-decls -Wnested-externs -Winline -Wno-variadic-macros -Wsign-conversion \ + -Wswitch-default -Wconversion -Wsync-nand -Wunsafe-loop-optimizations -Wcast-align \ + -Wstrict-overflow -Wdeclaration-after-statement -Wundef -Wbad-function-cast \ + -Wcast-qual -Wwrite-strings -Wlogical-op -Waggregate-return -Wstrict-prototypes \ + -Wold-style-definition -Wpacked -Wvector-operation-performance \ + -Wunsuffixed-float-constants -Wsuggest-attribute=const -Wsuggest-attribute=noreturn \ + -Wsuggest-attribute=pure -Wsuggest-attribute=format -Wnormalized=nfkc -pedantic FLAGS = -std=c99 $(WARN) $(OPTIMISE) |