summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-04-04 21:58:53 +0200
committerMattias Andrée <maandree@operamail.com>2014-04-04 21:58:53 +0200
commit68bcb5dc4d1721c74e6edcc9cc10f3de6eb196d1 (patch)
treee4f2d9b2c31f7f18452e68eae604931cc7526423 /Makefile
parentbump version (diff)
downloadblueshift-68bcb5dc4d1721c74e6edcc9cc10f3de6eb196d1.tar.gz
blueshift-68bcb5dc4d1721c74e6edcc9cc10f3de6eb196d1.tar.bz2
blueshift-68bcb5dc4d1721c74e6edcc9cc10f3de6eb196d1.tar.xz
demote -Wstrict-overflow to not run for Cython compiled files
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 87afd22..31e9ba0 100644
--- a/Makefile
+++ b/Makefile
@@ -50,12 +50,12 @@ OPTIMISE ?= -Og -g
# Warnings settings for C code compilation
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 -Wstrict-overflow -Wdeclaration-after-statement -Wundef -Wpacked \
+ -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 -Wunsafe-loop-optimizations
+ -Wsync-nand
# Warnings violated by Cython and therefore only use for C and not Cython
-CWARN = -Wshadow -Wredundant-decls -Winline -Wcast-qual -Wsign-conversion
+CWARN = -Wshadow -Wredundant-decls -Winline -Wcast-qual -Wsign-conversion -Wstrict-overflow
# The C standard for C code compilation
STD = c99
LIBS_idcrtc = xcb-randr