summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/makefile.unix
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-12 08:41:38 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-12 08:41:38 +0000
commit552e669dbc8c7d05044f704c00302947aa086572 (patch)
tree750ba98b1e70b33a46645731df73e1f86a52e499 /crawl-ref/source/makefile.unix
parent211ed66cff943a096754894b1ad4715731d9d9b6 (diff)
downloadcrawl-ref-552e669dbc8c7d05044f704c00302947aa086572.tar.gz
crawl-ref-552e669dbc8c7d05044f704c00302947aa086572.zip
Added -O2 -Wuninitialized to Unix makefile.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2446 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/makefile.unix')
-rw-r--r--crawl-ref/source/makefile.unix5
1 files changed, 2 insertions, 3 deletions
diff --git a/crawl-ref/source/makefile.unix b/crawl-ref/source/makefile.unix
index 94e0b9d4f0..8af0e759b1 100644
--- a/crawl-ref/source/makefile.unix
+++ b/crawl-ref/source/makefile.unix
@@ -89,10 +89,9 @@ LIB = -l$(LIBCURS) -L$(LUASRC) -l$(LUALIB) $(LIBDBM)
INCLUDES := $(INCLUDES) -Iutil -I. -I$(LUASRC) $(EXTRA_INCLUDES)
-CFWARN := -Wall -Wwrite-strings \
- -Wshadow -pedantic
+CFWARN := -Wall -Wwrite-strings -Wshadow -Wuninitialized -pedantic
-CFOTHERS := -fsigned-char -D$(OS_TYPE) $(EXTRA_FLAGS) -DCLUA_BINDINGS
+CFOTHERS := -O2 -fsigned-char -D$(OS_TYPE) $(EXTRA_FLAGS) -DCLUA_BINDINGS
ifneq ($(SAVEDIR),)
CFOTHERS += '-DSAVE_DIR_PATH="$(SAVEDIR)"'