diff options
| author | Mattias Andrée <maandree@operamail.com> | 2014-04-24 06:08:38 +0200 |
|---|---|---|
| committer | Mattias Andrée <maandree@operamail.com> | 2014-04-24 06:08:38 +0200 |
| commit | a90b12d31309307d727c526c17279448de9c26a4 (patch) | |
| tree | 6213de0ec9a652dc3820195109ab0b47036eeb02 | |
| parent | fix warnings (diff) | |
| download | got-diminished-a90b12d31309307d727c526c17279448de9c26a4.tar.gz got-diminished-a90b12d31309307d727c526c17279448de9c26a4.tar.bz2 got-diminished-a90b12d31309307d727c526c17279448de9c26a4.tar.xz | |
Signed-off-by: Mattias Andrée <maandree@operamail.com>
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | Makefile | 16 |
2 files changed, 11 insertions, 6 deletions
@@ -26,4 +26,5 @@ _/ *.vr *.out *.gch +*.su @@ -6,12 +6,16 @@ DATA = /share LICENSES = $(PREFIX)$(DATA)/licenses OPTIMISE = -Os -WARN = -Wall -Wextra -pedantic -Wdouble-promotion -Wformat=2 -Winit-self -Wmissing-include-dirs \ - -Wfloat-equal -Wmissing-prototypes -Wmissing-declarations -Wtrampolines -Wnested-externs \ - -Wno-variadic-macros -Wdeclaration-after-statement -Wundef -Wpacked -Wunsafe-loop-optimizations \ - -Wbad-function-cast -Wwrite-strings -Wlogical-op -Wstrict-prototypes -Wold-style-definition \ - -Wvector-operation-performance -Wstack-protector -Wunsuffixed-float-constants -Wcast-align \ - -Wsync-nand -Wshadow -Wredundant-decls -Winline -Wcast-qual -Wsign-conversion -Wstrict-overflow +WARN = -Wall -Wextra -pedantic -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 \ + -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 -Wconversion -fstrict-aliasing -fstrict-overflow -fipa-pure-const \ + -ftree-vrp -fstack-usage -funsafe-loop-optimizations BINS = login ssh cerberus _BINS = $(foreach B, $(BINS), bin/got-diminished-$(B)) |
