From: Carl Worth <cworth@cworth.org>
Date: Tue, 10 Nov 2009 16:36:41 +0000 (-0800)
Subject: Makefile: Change default flags to -O2.
X-Git-Tag: 0.1~545
X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=da5a2e2fe68a6f3393053e4cd2eef66331b42872;p=notmuch-old

Makefile: Change default flags to -O2.

We've now verified that it's reliable for the user to override CFLAGS
on the command line, so just make the user do to get a debug build.
---

diff --git a/Makefile b/Makefile
index 8eee3096..6d1f3d82 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 # Default FLAGS, (can be overriden by user such as "make CFLAGS=-O2")
 WARN_FLAGS=-Wall -Wextra -Wmissing-declarations -Wwrite-strings -Wswitch-enum
-CFLAGS=-g -O0
+CFLAGS=-O2
 
 # Additional flags that we will append to whatever the user set.
 # These aren't intended for the user to manipulate.