]> Shamusworld >> Repos - virtualjaguar/blobdiff - Makefile
Fixed segfaults in DSP & GPU caused by freeing static memory. Ouch\!
[virtualjaguar] / Makefile
index eeb8989ed0aa6eb3c78767f84a69312bf43fa258..f9484cdf13c1b0c67369f31c76351161c6ad89c8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -51,7 +51,7 @@ TARGET     = vj
 # Note that we use optimization level 2 instead of 3--3 doesn't seem to gain much over 2
 CFLAGS   = -MMD -Wall -Wno-switch -O2 -D$(SYSTYPE) -ffast-math -fomit-frame-pointer `sdl-config --cflags`
 CPPFLAGS = -MMD -Wall -Wno-switch -Wno-non-virtual-dtor -O2 -D$(SYSTYPE) \
-               -ffast-math -fomit-frame-pointer `sdl-config --cflags`
+               -ffast-math -fomit-frame-pointer `sdl-config --cflags` -g
 #              -fomit-frame-pointer `sdl-config --cflags` -g
 #              -fomit-frame-pointer `sdl-config --cflags` -DLOG_UNMAPPED_MEMORY_ACCESSES