From 0a04ed618bcbe3ed76b993877d828bb674f17a26 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sun, 9 May 2010 22:45:21 +0200 Subject: [PATCH] Makefile: only enable when -freorder-blocks-and-partition when DEBUG != 1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit …otherwise you don’t see variables in gdb --- common.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5