Actually, I also need -DDEBUG, so that assertions are turned on, and also -fno-omit-frame-pointer on 32-bit. This is my Mesa config:
http://pastebin.com/raw.php?i=feEkffU1 Marek On Thu, Feb 13, 2014 at 4:59 PM, Maarten Lankhorst <maarten.lankho...@canonical.com> wrote: > > On 13-02-14 16:27, Marek Olšák wrote: >> >> Yes, -O0 has been part of --enable-debug, because debugging is often >> difficult with -O2. That's why I change CFLAGS and CXXFLAGS manually, >> because I only want -g -O2. > > Could just remove --disable-debug. Afaict it amounts to calling autoconf > with CFLAGS='-g -O0 -DNDEBUG' CXXFLAGS=same _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev