summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-04-12 01:37:18 +0200
committerMattias Andrée <maandree@operamail.com>2014-04-12 01:37:18 +0200
commit1d6282a9226b0ae1ec866dd649764153458ca8d0 (patch)
treedab72590fff17abcf83a01bdc69680a2ac5cf31e /Makefile
parentuse limits.h (diff)
downloadblueshift-1d6282a9226b0ae1ec866dd649764153458ca8d0.tar.gz
blueshift-1d6282a9226b0ae1ec866dd649764153458ca8d0.tar.bz2
blueshift-1d6282a9226b0ae1ec866dd649764153458ca8d0.tar.xz
m + fix multiscreen bug
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 8f875bd..cf15470 100644
--- a/Makefile
+++ b/Makefile
@@ -46,7 +46,7 @@ EXECLIBS = $(foreach E,$(EXECS),blueshift_$(E))
# The installed pkg-config command
PKGCONFIG ?= pkg-config
# Optimisation settings for C code compilation
-OPTIMISE ?= -Og -g
+OPTIMISE ?= -O6 -g
# Warnings settings for C code compilation
WARN = -Wall -Wextra -pedantic -Wdouble-promotion -Wformat=2 -Winit-self -Wmissing-include-dirs \
-Wtrampolines -Wfloat-equal -Wmissing-prototypes -Wmissing-declarations -Wnested-externs \
@@ -55,11 +55,11 @@ WARN = -Wall -Wextra -pedantic -Wdouble-promotion -Wformat=2 -Winit-self -Wmissi
-Wstrict-prototypes -Wold-style-definition -Wpacked -Wvector-operation-performance \
-Wunsuffixed-float-constants -Wsuggest-attribute=const -Wsuggest-attribute=noreturn \
-Wsuggest-attribute=format -Wnormalized=nfkc \
- -fstrict-aliasing -fstrict-overflow -fipa-pure-const -ftree-vrp -fstack-usage \
- -funsafe-loop-optimizations
+ -fstrict-aliasing -fipa-pure-const -ftree-vrp -fstack-usage -funsafe-loop-optimizations
# Warnings violated by Cython and therefore only use for C and not Cython
CWARN = -Wshadow -Wredundant-decls -Winline -Wcast-qual -Wsign-conversion -Wstrict-overflow=5 \
- -Wconversion -Wsuggest-attribute=pure -Wswitch-default -Wstrict-aliasing=1
+ -Wconversion -Wsuggest-attribute=pure -Wswitch-default -Wstrict-aliasing=1 \
+ -fstrict-overflow
#not used: -Wtraditional (tranditional C function definitions are ridiculous),
# -Wpadded (useless for this project), -Wc++-compat (bad practice)
#not used because of libxcb's API: -Waggregate-return, -Wtraditional-conversion (also useless)