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.
This commit is contained in:
Carl Worth 2009-11-10 08:36:41 -08:00
parent 946c94b6a1
commit da5a2e2fe6

View file

@ -1,6 +1,6 @@
# Default FLAGS, (can be overriden by user such as "make CFLAGS=-O2") # Default FLAGS, (can be overriden by user such as "make CFLAGS=-O2")
WARN_FLAGS=-Wall -Wextra -Wmissing-declarations -Wwrite-strings -Wswitch-enum 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. # Additional flags that we will append to whatever the user set.
# These aren't intended for the user to manipulate. # These aren't intended for the user to manipulate.