From: Michael Stapelberg Date: Sun, 9 May 2010 20:45:21 +0000 (+0200) Subject: Makefile: only enable when -freorder-blocks-and-partition when DEBUG != 1 X-Git-Tag: tree-pr1~228 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0a04ed618bcbe3ed76b993877d828bb674f17a26;p=i3%2Fi3 Makefile: only enable when -freorder-blocks-and-partition when DEBUG != 1 …otherwise you don’t see variables in gdb --- diff --git a/common.mk b/common.mk index dcba6976..6887470f 100644 --- a/common.mk +++ b/common.mk @@ -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 # Don’t print command lines which are run