diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-06-18 01:37:33 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-06-18 01:37:33 +0200 |
commit | 8bd581a007a21ec7ffdaa03af5e79d1aac137841 (patch) | |
tree | e9b01865d93a61ec1f69c285de469af0edf40524 /Makefile | |
parent | use -O and not -O6 when GCC is not used (diff) | |
download | libgamma-8bd581a007a21ec7ffdaa03af5e79d1aac137841.tar.gz libgamma-8bd581a007a21ec7ffdaa03af5e79d1aac137841.tar.bz2 libgamma-8bd581a007a21ec7ffdaa03af5e79d1aac137841.tar.xz |
non-standard warning
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -39,17 +39,18 @@ CC ?= gcc WARN = -Wall -Wextra -pedantic -Wformat=2 -Winit-self -Wmissing-include-dirs \ -Wfloat-equal -Wshadow -Wmissing-prototypes -Wmissing-declarations \ -Wredundant-decls -Wnested-externs -Winline -Wno-variadic-macros \ - -Wswitch-default -Wconversion -Wunsafe-loop-optimizations -Wcast-align \ - -Wstrict-overflow -Wdeclaration-after-statement -Wundef -Wcast-qual \ - -Wbad-function-cast -Wwrite-strings -Waggregate-return -Wpacked \ - -Wstrict-prototypes -Wold-style-definition + -Wswitch-default -Wconversion -Wcast-align -Wstrict-overflow \ + -Wdeclaration-after-statement -Wundef -Wcast-qual -Wbad-function-cast \ + -Wwrite-strings -Waggregate-return -Wpacked -Wstrict-prototypes \ + -Wold-style-definition ifeq ($(CC),gcc) WARN += -Wdouble-promotion -Wtrampolines -Wsign-conversion -Wsync-nand \ -Wlogical-op -Wvector-operation-performance \ -Wunsuffixed-float-constants -Wsuggest-attribute=const \ -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure \ - -Wsuggest-attribute=format -Wnormalized=nfkc + -Wsuggest-attribute=format -Wnormalized=nfkc \ + -Wunsafe-loop-optimizations endif |