diff options
Diffstat (limited to 'crawl-ref/source/makefile_tiles.unix')
-rw-r--r-- | crawl-ref/source/makefile_tiles.unix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/makefile_tiles.unix b/crawl-ref/source/makefile_tiles.unix index cef8843295..70fcdf8bea 100644 --- a/crawl-ref/source/makefile_tiles.unix +++ b/crawl-ref/source/makefile_tiles.unix @@ -321,6 +321,10 @@ profile: $(GAME_DEPENDS) %.o: %.cc $(TILEDEFHDRS) ${CXX} ${CFLAGS} -c $< -o $@ +# STL is bad in debug. Always compile this file with optimizations. +tilebuf.o: tilebuf.cc $(TILEDEFHDRS) + ${CXX} ${CFLAGS} -O2 -c $< -o $@ + # [ds] Note we don't use the standard CFLAGS here; that's intentional, most # flex/bison combos I've tried don't produce code that passes the warnings # test. |