diff options
author | ennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-05-09 18:47:46 +0000 |
---|---|---|
committer | ennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-05-09 18:47:46 +0000 |
commit | 6ad0d3d1d7057e2e8b427f6a91c39a74173f14d9 (patch) | |
tree | 30c45b043b8609648dc54734d9fbdb901dffc35f /crawl-ref/source/makefile.unix | |
parent | 5befeec818b88b1171d1c8f288d3923ce3508b13 (diff) | |
download | crawl-ref-6ad0d3d1d7057e2e8b427f6a91c39a74173f14d9.tar.gz crawl-ref-6ad0d3d1d7057e2e8b427f6a91c39a74173f14d9.zip |
No more -O2 for debug builds.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4962 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/makefile.unix')
-rw-r--r-- | crawl-ref/source/makefile.unix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/makefile.unix b/crawl-ref/source/makefile.unix index 0d26da696d..41d2003017 100644 --- a/crawl-ref/source/makefile.unix +++ b/crawl-ref/source/makefile.unix @@ -95,9 +95,11 @@ CFWARN := -Wall -Wwrite-strings -Wshadow -pedantic CFOTHERS := -fsigned-char -D$(OS_TYPE) $(EXTRA_FLAGS) -DCLUA_BINDINGS ifneq ($(HURRY),y) +ifneq ($(DEBUG_CRAWL),y) CFWARN += -Wuninitialized CFOTHERS += -O2 endif +endif ifneq ($(strip $(SAVEDIR)),) CFOTHERS += '-DSAVE_DIR_PATH="$(strip $(SAVEDIR))"' |