On Tue, Dec 4, 2018 at 7:18 PM Dylan Baker <dy...@pnwbakers.com> wrote:
> Quoting Marek Olšák (2018-12-04 16:04:11) > > On Tue, Dec 4, 2018 at 7:01 PM Dylan Baker <dy...@pnwbakers.com> wrote: > > > > Quoting Marek Olšák (2018-12-04 14:52:19) > > > CFLAGS="-fno-omit-frame-pointer" \ > > > CXXFLAGS="-fno-omit-frame-pointer" \ > > > LDFLAGS="-fuse-ld=gold" \ > > > meson $reconfigure build \ > > > --prefix /usr --libdir /usr/lib/$archdir --buildtype > debugoptimized > > > --native-file $llvm_config \ > > > -Dgallium-va=false -Dgallium-xvmc=false -Dgallium-omx=disabled > > -Dgallium-xa > > > =false \ > > > -Dplatforms=x11,drm,surfaceless > -Dgallium-drivers=radeonsi,r300,r600 > > \ > > > -Ddri-drivers= -Dvulkan-drivers=amd \ > > > -Dlibunwind=true > > > > > > Marek > > > > If you want the -DDEBUG added automatically you need a > --buildtype=debug, > > --buildtype=debugoptimized doesn't get -DDEBUG. > > > > > > That's a change in behavior compared to autotools, which was always > > debugoptimized. > > > > Marek > > That was changed after the initial meson merge, here's the thread > discussing > that: > https://lists.freedesktop.org/archives/mesa-dev/2017-November/175104.html It doesn't discuss it. Autotools doesn't have buildtype=debug (-O0). --enable-debug is debugoptimized (-g -O2 -DDEBUG). Marek
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev