summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/makefile_tiles.mgw
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/makefile_tiles.mgw')
-rw-r--r--crawl-ref/source/makefile_tiles.mgw5
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/makefile_tiles.mgw b/crawl-ref/source/makefile_tiles.mgw
index fe86288b3a..b8cc376aed 100644
--- a/crawl-ref/source/makefile_tiles.mgw
+++ b/crawl-ref/source/makefile_tiles.mgw
@@ -249,6 +249,11 @@ profile: $(GAME_DEPENDS)
$(OPATH)/%.o: %.cc $(TILEDEFHDRS)
${CXX} ${CFLAGS} -o $@ -c $<
+# STL is bad in debug. Always compile this file with optimizations.
+$(OPATH)/tilebuf.o: tilebuf.cc $(TILEDEFHDRS)
+ ${CXX} ${CFLAGS} -O2 -o $@ -c $<
+
+
$(OPATH)/%.o: $(UTIL)%.cc $(TILEDEFHDRS)
$(CXX) $(YCFLAGS) -o $@ -c $<