[Mesa-dev] [PATCH v2] build: remove autotools
Marek Olšák
maraeo at gmail.com
Wed Dec 5 00:04:11 UTC 2018
On Tue, Dec 4, 2018 at 7:01 PM Dylan Baker <dylan at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20181204/7a585627/attachment.html>
More information about the mesa-dev
mailing list