Makefile: only enable when -freorder-blocks-and-partition when DEBUG != 1

…otherwise you don’t see variables in gdb
This commit is contained in:
Michael Stapelberg 2010-05-09 22:45:21 +02:00
parent 206e1ed041
commit 0a04ed618b
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,6 @@ CFLAGS += -Wunused-value
CFLAGS += -Iinclude
CFLAGS += -I/usr/local/include
CFLAGS += -DI3_VERSION=\"${GIT_VERSION}\"
CFLAGS += -freorder-blocks-and-partition
LDFLAGS += -lm
LDFLAGS += -lxcb-event
@ -62,6 +61,7 @@ CFLAGS += -gdwarf-2
CFLAGS += -g3
else
CFLAGS += -O2
CFLAGS += -freorder-blocks-and-partition
endif
# Dont print command lines which are run