[Mesa-dev] [PATCH v2] build: remove autotools

Dylan Baker dylan at pnwbakers.com
Wed Dec 5 00:00:52 UTC 2018


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.

Dylan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20181204/01b77532/attachment.sig>


More information about the mesa-dev mailing list